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 c519f26b..3c1a90df 100644 --- a/wrappers/javascript/packages/aries-askar-react-native/src/ReactNativeAriesAskar.ts +++ b/wrappers/javascript/packages/aries-askar-react-native/src/ReactNativeAriesAskar.ts @@ -517,10 +517,10 @@ export class ReactNativeAriesAskar implements AriesAskar { } public async sessionFetchAll(options: SessionFetchAllOptions) { - const { category, sessionHandle, forUpdate, limit, tagFilter } = serializeArguments(options) + 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, tagFilter }), + this.ariesAskar.sessionFetchAll({ cb, category, sessionHandle, forUpdate, limit: limit || -1, orderBy, descending, tagFilter }), ), )