Skip to content

Commit

Permalink
added indy-vdr patch
Browse files Browse the repository at this point in the history
Signed-off-by: wadeking98 <[email protected]>
  • Loading branch information
wadeking98 committed Nov 20, 2023
1 parent 54bf216 commit d695306
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/build/ReactNativeIndyVdr.js b/build/ReactNativeIndyVdr.js
index 11f1bf74b1e776401ca593acaf9dbce2b53871e5..c0cd20d3bd402b501b4ccf2e3a986c931455b98e 100644
--- a/build/ReactNativeIndyVdr.js
+++ b/build/ReactNativeIndyVdr.js
@@ -164,7 +164,7 @@ class ReactNativeIndyVdr {
async poolGetTransactions(options) {
const { poolHandle } = (0, serialize_1.serializeArguments)(options);
const result = (0, indy_vdr_shared_1.handleInvalidNullResponse)(await this.promisifyWithResponse((cb) => this.indyVdr.poolGetTransactions({ cb, poolHandle }), true));
- return JSON.parse(result);
+ return result;
}
async poolGetVerifiers(options) {
const { poolHandle } = (0, serialize_1.serializeArguments)(options);
15 changes: 14 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3961,7 +3961,7 @@ __metadata:
languageName: node
linkType: hard

"@hyperledger/indy-vdr-react-native@npm:^0.1.0":
"@hyperledger/indy-vdr-react-native@npm:0.1.0":
version: 0.1.0
resolution: "@hyperledger/indy-vdr-react-native@npm:0.1.0"
dependencies:
Expand All @@ -3974,6 +3974,19 @@ __metadata:
languageName: node
linkType: hard

"@hyperledger/indy-vdr-react-native@patch:@hyperledger/indy-vdr-react-native@npm%3A0.1.0#./.yarn/patches/@hyperledger-indy-vdr-react-native-npm-0.1.0-10c696b320.patch::locator=bc-wallet-mobile%40workspace%3A.":
version: 0.1.0
resolution: "@hyperledger/indy-vdr-react-native@patch:@hyperledger/indy-vdr-react-native@npm%3A0.1.0#./.yarn/patches/@hyperledger-indy-vdr-react-native-npm-0.1.0-10c696b320.patch::version=0.1.0&hash=693db7&locator=bc-wallet-mobile%40workspace%3A."
dependencies:
"@hyperledger/indy-vdr-shared": 0.1.0
"@mapbox/node-pre-gyp": ^1.0.10
peerDependencies:
react: ">= 16"
react-native: ">= 0.66.0"
checksum: 1fa3315150bc489c643bbe35869e4719218a38897a41bdc73ec73882d8a8218d7435167aac16b8c8159647c80feec0b568f7d5b055d933f0b6241d761ddfe945
languageName: node
linkType: hard

"@hyperledger/indy-vdr-shared@npm:0.1.0":
version: 0.1.0
resolution: "@hyperledger/indy-vdr-shared@npm:0.1.0"
Expand Down

0 comments on commit d695306

Please sign in to comment.