@compilot/react-sdk 2.30.2-dev → 2.30.2-staging
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compilot-react-sdk.cjs.dev.cjs +0 -2
- package/dist/compilot-react-sdk.cjs.prod.cjs +0 -2
- package/dist/compilot-react-sdk.esm.mjs +0 -2
- package/dist/declarations/src/hooks/useGetTxAuthDataSignature.d.ts +3 -5
- package/dist/declarations/src/hooks/useGetTxAuthDataSignature.d.ts.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +5 -5
|
@@ -1090,7 +1090,6 @@ var useDisconnect = function useDisconnect() {
|
|
|
1090
1090
|
*
|
|
1091
1091
|
* // Get signature for the given parameters
|
|
1092
1092
|
* const signatureResponse = await getTxAuthDataSignature({
|
|
1093
|
-
* workflowId: "123", // this has to be a workflow of type "SignatureGating"
|
|
1094
1093
|
* namespace: "eip155",
|
|
1095
1094
|
* contractAbi,
|
|
1096
1095
|
* contractAddress,
|
|
@@ -1159,7 +1158,6 @@ var useDisconnect = function useDisconnect() {
|
|
|
1159
1158
|
*
|
|
1160
1159
|
* // Get signature for the given parameters
|
|
1161
1160
|
* const signatureResponse = await getTxAuthDataSignature({
|
|
1162
|
-
* workflowId: "123", // this has to be a workflow of type "SignatureGating"
|
|
1163
1161
|
* namespace: "tezos",
|
|
1164
1162
|
* contractAddress: "KT1JN7a2es4Ne8SuePZU7YrHKG49hfgCCyBK",
|
|
1165
1163
|
* functionName: "%mint_gated%",
|
|
@@ -1090,7 +1090,6 @@ var useDisconnect = function useDisconnect() {
|
|
|
1090
1090
|
*
|
|
1091
1091
|
* // Get signature for the given parameters
|
|
1092
1092
|
* const signatureResponse = await getTxAuthDataSignature({
|
|
1093
|
-
* workflowId: "123", // this has to be a workflow of type "SignatureGating"
|
|
1094
1093
|
* namespace: "eip155",
|
|
1095
1094
|
* contractAbi,
|
|
1096
1095
|
* contractAddress,
|
|
@@ -1159,7 +1158,6 @@ var useDisconnect = function useDisconnect() {
|
|
|
1159
1158
|
*
|
|
1160
1159
|
* // Get signature for the given parameters
|
|
1161
1160
|
* const signatureResponse = await getTxAuthDataSignature({
|
|
1162
|
-
* workflowId: "123", // this has to be a workflow of type "SignatureGating"
|
|
1163
1161
|
* namespace: "tezos",
|
|
1164
1162
|
* contractAddress: "KT1JN7a2es4Ne8SuePZU7YrHKG49hfgCCyBK",
|
|
1165
1163
|
* functionName: "%mint_gated%",
|
|
@@ -1087,7 +1087,6 @@ var useDisconnect = function useDisconnect() {
|
|
|
1087
1087
|
*
|
|
1088
1088
|
* // Get signature for the given parameters
|
|
1089
1089
|
* const signatureResponse = await getTxAuthDataSignature({
|
|
1090
|
-
* workflowId: "123", // this has to be a workflow of type "SignatureGating"
|
|
1091
1090
|
* namespace: "eip155",
|
|
1092
1091
|
* contractAbi,
|
|
1093
1092
|
* contractAddress,
|
|
@@ -1156,7 +1155,6 @@ var useDisconnect = function useDisconnect() {
|
|
|
1156
1155
|
*
|
|
1157
1156
|
* // Get signature for the given parameters
|
|
1158
1157
|
* const signatureResponse = await getTxAuthDataSignature({
|
|
1159
|
-
* workflowId: "123", // this has to be a workflow of type "SignatureGating"
|
|
1160
1158
|
* namespace: "tezos",
|
|
1161
1159
|
* contractAddress: "KT1JN7a2es4Ne8SuePZU7YrHKG49hfgCCyBK",
|
|
1162
1160
|
* functionName: "%mint_gated%",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ExtendedTezosTxAuthDataSignatureResponse, ExtendedTezosTxAuthInput, ExtendedTxAuthDataSignatureResponse, ExtendedTxAuthInput } from "@nexeraid/identity-schemas";
|
|
2
2
|
/**
|
|
3
3
|
* A callback that returns a transaction authorization data signature.
|
|
4
4
|
*
|
|
@@ -8,11 +8,11 @@ export type TxAuthDataSignatureCallback = {
|
|
|
8
8
|
/**
|
|
9
9
|
* Returns a transaction authorization data signature for eip155 transactions.
|
|
10
10
|
*/
|
|
11
|
-
(input:
|
|
11
|
+
(input: ExtendedTxAuthInput): Promise<ExtendedTxAuthDataSignatureResponse>;
|
|
12
12
|
/**
|
|
13
13
|
* Returns a transaction authorization data signature for Tezos transactions.
|
|
14
14
|
*/
|
|
15
|
-
(input:
|
|
15
|
+
(input: ExtendedTezosTxAuthInput): Promise<ExtendedTezosTxAuthDataSignatureResponse>;
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
18
18
|
* A hook that returns a function that returns a transaction authorization data signature.
|
|
@@ -41,7 +41,6 @@ export type TxAuthDataSignatureCallback = {
|
|
|
41
41
|
*
|
|
42
42
|
* // Get signature for the given parameters
|
|
43
43
|
* const signatureResponse = await getTxAuthDataSignature({
|
|
44
|
-
* workflowId: "123", // this has to be a workflow of type "SignatureGating"
|
|
45
44
|
* namespace: "eip155",
|
|
46
45
|
* contractAbi,
|
|
47
46
|
* contractAddress,
|
|
@@ -110,7 +109,6 @@ export type TxAuthDataSignatureCallback = {
|
|
|
110
109
|
*
|
|
111
110
|
* // Get signature for the given parameters
|
|
112
111
|
* const signatureResponse = await getTxAuthDataSignature({
|
|
113
|
-
* workflowId: "123", // this has to be a workflow of type "SignatureGating"
|
|
114
112
|
* namespace: "tezos",
|
|
115
113
|
* contractAddress: "KT1JN7a2es4Ne8SuePZU7YrHKG49hfgCCyBK",
|
|
116
114
|
* functionName: "%mint_gated%",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetTxAuthDataSignature.d.ts","sourceRoot":"../../../../src/hooks","sources":["useGetTxAuthDataSignature.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"useGetTxAuthDataSignature.d.ts","sourceRoot":"../../../../src/hooks","sources":["useGetTxAuthDataSignature.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,wCAAwC,EACxC,wBAAwB,EACxB,mCAAmC,EACnC,mBAAmB,EACpB,MAAM,4BAA4B,CAAC;AAKpC;;;;GAIG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAC3E;;OAEG;IACH,CACE,KAAK,EAAE,wBAAwB,GAC9B,OAAO,CAAC,wCAAwC,CAAC,CAAC;CACtD,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqJG;AACH,eAAO,MAAM,yBAAyB,6HAgBrC,CAAC"}
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compilot/react-sdk",
|
|
3
|
-
"version": "2.30.2-
|
|
3
|
+
"version": "2.30.2-staging",
|
|
4
4
|
"description": "ComPilot React SDK",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "ISC",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"pino": "^9.5.0",
|
|
35
35
|
"zod": "^3.23.8",
|
|
36
|
-
"@compilot/web-sdk": "2.30.2-
|
|
37
|
-
"@nexeraid/identity-api-client": "2.30.1-
|
|
38
|
-
"@nexeraid/identity-schemas": "2.31.0-
|
|
39
|
-
"@nexeraid/logger": "2.30.1-
|
|
36
|
+
"@compilot/web-sdk": "2.30.2-staging",
|
|
37
|
+
"@nexeraid/identity-api-client": "2.30.1-staging",
|
|
38
|
+
"@nexeraid/identity-schemas": "2.31.0-staging",
|
|
39
|
+
"@nexeraid/logger": "2.30.1-staging"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"react": ">=17.0.0 <20.0.0"
|