diff --git a/wrappers/javascript/packages/aries-askar-nodejs/src/library/bindings.ts b/wrappers/javascript/packages/aries-askar-nodejs/src/library/bindings.ts index 225f14b4..d2730cbb 100644 --- a/wrappers/javascript/packages/aries-askar-nodejs/src/library/bindings.ts +++ b/wrappers/javascript/packages/aries-askar-nodejs/src/library/bindings.ts @@ -170,7 +170,7 @@ export const nativeBindings = { FFI_INT8, FFI_INT8, FFI_CALLBACK_PTR, - FFI_CALLBACK_ID + FFI_CALLBACK_ID, ], ], askar_session_fetch_all_keys: [ diff --git a/wrappers/javascript/packages/aries-askar-react-native/src/ReactNativeAriesAskar.ts b/wrappers/javascript/packages/aries-askar-react-native/src/ReactNativeAriesAskar.ts index 3c1a90df..6209a4d1 100644 --- a/wrappers/javascript/packages/aries-askar-react-native/src/ReactNativeAriesAskar.ts +++ b/wrappers/javascript/packages/aries-askar-react-native/src/ReactNativeAriesAskar.ts @@ -520,7 +520,16 @@ export class ReactNativeAriesAskar implements AriesAskar { const { category, sessionHandle, forUpdate, limit, orderBy, descending, tagFilter } = serializeArguments(options) const handle = await this.promisifyWithResponse((cb) => this.handleError( - this.ariesAskar.sessionFetchAll({ cb, category, sessionHandle, forUpdate, limit: limit || -1, orderBy, descending, tagFilter }), + this.ariesAskar.sessionFetchAll({ + cb, + category, + sessionHandle, + forUpdate, + limit: limit || -1, + orderBy, + descending, + tagFilter, + }), ), ) diff --git a/wrappers/javascript/packages/aries-askar-shared/src/store/Session.ts b/wrappers/javascript/packages/aries-askar-shared/src/store/Session.ts index 893628b3..493b7bef 100644 --- a/wrappers/javascript/packages/aries-askar-shared/src/store/Session.ts +++ b/wrappers/javascript/packages/aries-askar-shared/src/store/Session.ts @@ -69,8 +69,8 @@ export class Session { category: string tagFilter?: Record limit?: number - orderBy?: string, - descending: boolean, + orderBy?: string + descending: boolean forUpdate?: boolean isJson?: boolean }) {