@compilot/react-sdk 2.3.1-dev → 2.3.2-dev
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.js +5 -1
- package/dist/compilot-react-sdk.cjs.prod.js +5 -1
- package/dist/compilot-react-sdk.esm.js +5 -1
- package/dist/declarations/src/configuration/ComPilotProvider.d.ts +2 -0
- package/dist/declarations/src/configuration/ComPilotProvider.d.ts.map +1 -1
- package/dist/declarations/src/hooks/useCustomerStatus.d.ts +1 -0
- package/dist/declarations/src/hooks/useCustomerStatus.d.ts.map +1 -1
- package/dist/declarations/src/hooks/useGetTxAuthDataSignature.d.ts +2 -1
- package/dist/declarations/src/hooks/useGetTxAuthDataSignature.d.ts.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +3 -3
|
@@ -222,6 +222,7 @@ var ComPilotContext = /*#__PURE__*/react.createContext(null);
|
|
|
222
222
|
* @example
|
|
223
223
|
*
|
|
224
224
|
* Basic
|
|
225
|
+
*
|
|
225
226
|
* ```tsx
|
|
226
227
|
* import { ComPilotProvider } from "@compilot/react-sdk";
|
|
227
228
|
* import { config } from "./config";
|
|
@@ -236,6 +237,7 @@ var ComPilotContext = /*#__PURE__*/react.createContext(null);
|
|
|
236
237
|
* ```
|
|
237
238
|
*
|
|
238
239
|
* With AutoLoader disabled
|
|
240
|
+
*
|
|
239
241
|
* ```tsx
|
|
240
242
|
* import { ComPilotProvider } from "@compilot/react-sdk";
|
|
241
243
|
* import { config } from "./config";
|
|
@@ -788,7 +790,8 @@ var useOpenWidget = function useOpenWidget(loginParams) {
|
|
|
788
790
|
*
|
|
789
791
|
* @example
|
|
790
792
|
*
|
|
791
|
-
*
|
|
793
|
+
* ##### EIP-155 Transaction Wagmi Example
|
|
794
|
+
*
|
|
792
795
|
* ```tsx
|
|
793
796
|
* import { useGetTxAuthDataSignature } from "@compilot/react-sdk";
|
|
794
797
|
* import { waitForTransactionReceipt } from "viem/actions";
|
|
@@ -1104,6 +1107,7 @@ var useAsyncQueryState = function useAsyncQueryState(_ref) {
|
|
|
1104
1107
|
* ```
|
|
1105
1108
|
*
|
|
1106
1109
|
* Output:
|
|
1110
|
+
*
|
|
1107
1111
|
* ```tsx
|
|
1108
1112
|
* <div>User is verified: true</div>
|
|
1109
1113
|
* ```
|
|
@@ -222,6 +222,7 @@ var ComPilotContext = /*#__PURE__*/react.createContext(null);
|
|
|
222
222
|
* @example
|
|
223
223
|
*
|
|
224
224
|
* Basic
|
|
225
|
+
*
|
|
225
226
|
* ```tsx
|
|
226
227
|
* import { ComPilotProvider } from "@compilot/react-sdk";
|
|
227
228
|
* import { config } from "./config";
|
|
@@ -236,6 +237,7 @@ var ComPilotContext = /*#__PURE__*/react.createContext(null);
|
|
|
236
237
|
* ```
|
|
237
238
|
*
|
|
238
239
|
* With AutoLoader disabled
|
|
240
|
+
*
|
|
239
241
|
* ```tsx
|
|
240
242
|
* import { ComPilotProvider } from "@compilot/react-sdk";
|
|
241
243
|
* import { config } from "./config";
|
|
@@ -788,7 +790,8 @@ var useOpenWidget = function useOpenWidget(loginParams) {
|
|
|
788
790
|
*
|
|
789
791
|
* @example
|
|
790
792
|
*
|
|
791
|
-
*
|
|
793
|
+
* ##### EIP-155 Transaction Wagmi Example
|
|
794
|
+
*
|
|
792
795
|
* ```tsx
|
|
793
796
|
* import { useGetTxAuthDataSignature } from "@compilot/react-sdk";
|
|
794
797
|
* import { waitForTransactionReceipt } from "viem/actions";
|
|
@@ -1104,6 +1107,7 @@ var useAsyncQueryState = function useAsyncQueryState(_ref) {
|
|
|
1104
1107
|
* ```
|
|
1105
1108
|
*
|
|
1106
1109
|
* Output:
|
|
1110
|
+
*
|
|
1107
1111
|
* ```tsx
|
|
1108
1112
|
* <div>User is verified: true</div>
|
|
1109
1113
|
* ```
|
|
@@ -219,6 +219,7 @@ var ComPilotContext = /*#__PURE__*/createContext(null);
|
|
|
219
219
|
* @example
|
|
220
220
|
*
|
|
221
221
|
* Basic
|
|
222
|
+
*
|
|
222
223
|
* ```tsx
|
|
223
224
|
* import { ComPilotProvider } from "@compilot/react-sdk";
|
|
224
225
|
* import { config } from "./config";
|
|
@@ -233,6 +234,7 @@ var ComPilotContext = /*#__PURE__*/createContext(null);
|
|
|
233
234
|
* ```
|
|
234
235
|
*
|
|
235
236
|
* With AutoLoader disabled
|
|
237
|
+
*
|
|
236
238
|
* ```tsx
|
|
237
239
|
* import { ComPilotProvider } from "@compilot/react-sdk";
|
|
238
240
|
* import { config } from "./config";
|
|
@@ -785,7 +787,8 @@ var useOpenWidget = function useOpenWidget(loginParams) {
|
|
|
785
787
|
*
|
|
786
788
|
* @example
|
|
787
789
|
*
|
|
788
|
-
*
|
|
790
|
+
* ##### EIP-155 Transaction Wagmi Example
|
|
791
|
+
*
|
|
789
792
|
* ```tsx
|
|
790
793
|
* import { useGetTxAuthDataSignature } from "@compilot/react-sdk";
|
|
791
794
|
* import { waitForTransactionReceipt } from "viem/actions";
|
|
@@ -1101,6 +1104,7 @@ var useAsyncQueryState = function useAsyncQueryState(_ref) {
|
|
|
1101
1104
|
* ```
|
|
1102
1105
|
*
|
|
1103
1106
|
* Output:
|
|
1107
|
+
*
|
|
1104
1108
|
* ```tsx
|
|
1105
1109
|
* <div>User is verified: true</div>
|
|
1106
1110
|
* ```
|
|
@@ -31,6 +31,7 @@ export type ComPilotProviderProps = {
|
|
|
31
31
|
* @example
|
|
32
32
|
*
|
|
33
33
|
* Basic
|
|
34
|
+
*
|
|
34
35
|
* ```tsx
|
|
35
36
|
* import { ComPilotProvider } from "@compilot/react-sdk";
|
|
36
37
|
* import { config } from "./config";
|
|
@@ -45,6 +46,7 @@ export type ComPilotProviderProps = {
|
|
|
45
46
|
* ```
|
|
46
47
|
*
|
|
47
48
|
* With AutoLoader disabled
|
|
49
|
+
*
|
|
48
50
|
* ```tsx
|
|
49
51
|
* import { ComPilotProvider } from "@compilot/react-sdk";
|
|
50
52
|
* import { config } from "./config";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComPilotProvider.d.ts","sourceRoot":"../../../../src/configuration","sources":["ComPilotProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAOhD;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"ComPilotProvider.d.ts","sourceRoot":"../../../../src/configuration","sources":["ComPilotProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAOhD;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,eAAO,MAAM,gBAAgB,8CAI1B,qBAAqB,sBAQvB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,QAAO,MAMpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCustomerStatus.d.ts","sourceRoot":"../../../../src/hooks","sources":["useCustomerStatus.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAGjE,OAAO,KAAK,EAAE,eAAe,EAAE,uCAAoC;AAGnE;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;OAGG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"useCustomerStatus.d.ts","sourceRoot":"../../../../src/hooks","sources":["useCustomerStatus.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAGjE,OAAO,KAAK,EAAE,eAAe,EAAE,uCAAoC;AAGnE;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;OAGG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,iBAAiB,yCACS,uBAAuB,KAI3D,eAAe,CAAC,cAAc,GAAG,IAAI,CAoDvC,CAAC"}
|
|
@@ -23,7 +23,8 @@ export type TxAuthDataSignatureCallback = {
|
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
*
|
|
26
|
-
*
|
|
26
|
+
* ##### EIP-155 Transaction Wagmi Example
|
|
27
|
+
*
|
|
27
28
|
* ```tsx
|
|
28
29
|
* import { useGetTxAuthDataSignature } from "@compilot/react-sdk";
|
|
29
30
|
* import { waitForTransactionReceipt } from "viem/actions";
|
|
@@ -1 +1 @@
|
|
|
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
|
|
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.3.
|
|
3
|
+
"version": "2.3.2-dev",
|
|
4
4
|
"description": "ComPilot React SDK",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "ISC",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"pino": "^9.4.0",
|
|
28
28
|
"zod": "^3.23.8",
|
|
29
|
-
"@compilot/web-sdk": "2.3.
|
|
30
|
-
"@nexeraid/identity-schemas": "2.3.
|
|
29
|
+
"@compilot/web-sdk": "2.3.2-dev",
|
|
30
|
+
"@nexeraid/identity-schemas": "2.3.2-dev",
|
|
31
31
|
"@nexeraid/identity-api-client": "2.3.0-dev",
|
|
32
32
|
"@nexeraid/logger": "2.3.0-dev"
|
|
33
33
|
},
|