@bananapus/nana-sdk-react 61.0.0 → 62.0.0

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.
@@ -2,6 +2,9 @@ import { JBChainId, JBVersion } from "@bananapus/nana-sdk-core";
2
2
  import { ERC2771ForwardRequestData } from "./useSignErc2771ForwardRequest";
3
3
  /**
4
4
  * Hook to get transaction quote from relayr.
5
+ *
6
+ * @deprecated Signs without the SDK's review. Use `runRelayrReviewed` from
7
+ * `@bananapus/nana-sdk-core/review`, which signs, quotes and pays under one review.
5
8
  */
6
9
  export declare function useGetRelayrTxQuote(): {
7
10
  data: undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"useGetRelayrTxQuote.d.ts","sourceRoot":"","sources":["../../../../src/lib/relayr/hooks/useGetRelayrTxQuote.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAEhE,OAAO,EACL,yBAAyB,EAE1B,MAAM,gCAAgC,CAAC;AAExC;;GAEG;AACH,wBAAgB,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAWzB;QACJ,OAAO,EAAE,SAAS,CAAC;QACnB,IAAI,EAAE,yBAAyB,CAAC;QAChC,OAAO,CAAC,EAAE,SAAS,CAAC;KACrB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAJG;QACJ,OAAO,EAAE,SAAS,CAAC;QACnB,IAAI,EAAE,yBAAyB,CAAC;QAChC,OAAO,CAAC,EAAE,SAAS,CAAC;KACrB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAJG;QACJ,OAAO,EAAE,SAAS,CAAC;QACnB,IAAI,EAAE,yBAAyB,CAAC;QAChC,OAAO,CAAC,EAAE,SAAS,CAAC;KACrB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAJG;QACJ,OAAO,EAAE,SAAS,CAAC;QACnB,IAAI,EAAE,yBAAyB,CAAC;QAChC,OAAO,CAAC,EAAE,SAAS,CAAC;KACrB,EAAE;EA2CN"}
1
+ {"version":3,"file":"useGetRelayrTxQuote.d.ts","sourceRoot":"","sources":["../../../../src/lib/relayr/hooks/useGetRelayrTxQuote.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAEhE,OAAO,EACL,yBAAyB,EAE1B,MAAM,gCAAgC,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAWzB;QACJ,OAAO,EAAE,SAAS,CAAC;QACnB,IAAI,EAAE,yBAAyB,CAAC;QAChC,OAAO,CAAC,EAAE,SAAS,CAAC;KACrB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAJG;QACJ,OAAO,EAAE,SAAS,CAAC;QACnB,IAAI,EAAE,yBAAyB,CAAC;QAChC,OAAO,CAAC,EAAE,SAAS,CAAC;KACrB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAJG;QACJ,OAAO,EAAE,SAAS,CAAC;QACnB,IAAI,EAAE,yBAAyB,CAAC;QAChC,OAAO,CAAC,EAAE,SAAS,CAAC;KACrB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAJG;QACJ,OAAO,EAAE,SAAS,CAAC;QACnB,IAAI,EAAE,yBAAyB,CAAC;QAChC,OAAO,CAAC,EAAE,SAAS,CAAC;KACrB,EAAE;EA2CN"}
@@ -1,6 +1,9 @@
1
1
  import { ChainPayment } from "../types";
2
2
  /**
3
3
  * Submit a relayr-given transaction onchain.
4
+ *
5
+ * @deprecated Sends without the SDK's review. Use `payRelayrReviewed` (or
6
+ * `runRelayrReviewed` for the whole flow) from `@bananapus/nana-sdk-core/review`.
4
7
  */
5
8
  export declare function useSendRelayrTx(): {
6
9
  sendRelayrTx: (chainPayment: ChainPayment) => Promise<`0x${string}`>;
@@ -1 +1 @@
1
- {"version":3,"file":"useSendRelayrTx.d.ts","sourceRoot":"","sources":["../../../../src/lib/relayr/hooks/useSendRelayrTx.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC;;GAEG;AACH,wBAAgB,eAAe;iCAMN,YAAY;;;;;EA2BpC"}
1
+ {"version":3,"file":"useSendRelayrTx.d.ts","sourceRoot":"","sources":["../../../../src/lib/relayr/hooks/useSendRelayrTx.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,eAAe;iCAMN,YAAY;;;;;EA2BpC"}
@@ -7,6 +7,10 @@ export type ERC2771ForwardRequestData = {
7
7
  gas: bigint;
8
8
  data: Hash;
9
9
  };
10
+ /**
11
+ * @deprecated Signs without the SDK's review. Use `signReviewedForwardRequests`
12
+ * from `@bananapus/nana-sdk-core/review`.
13
+ */
10
14
  export declare function useSignErc2771ForwardRequest(): {
11
15
  sign: (messageData: ERC2771ForwardRequestData, chainId: JBChainId, version?: JBVersion) => Promise<`0x${string}`>;
12
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useSignErc2771ForwardRequest.d.ts","sourceRoot":"","sources":["../../../../src/lib/relayr/hooks/useSignErc2771ForwardRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,SAAS,EAGV,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAmC,MAAM,MAAM,CAAC;AAGtE,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,EAAE,OAAO,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,wBAAgB,4BAA4B;wBAQ3B,yBAAyB,WAC7B,SAAS,YACR,SAAS;EAmEtB"}
1
+ {"version":3,"file":"useSignErc2771ForwardRequest.d.ts","sourceRoot":"","sources":["../../../../src/lib/relayr/hooks/useSignErc2771ForwardRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,SAAS,EAGV,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAmC,MAAM,MAAM,CAAC;AAGtE,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,EAAE,OAAO,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF;;;GAGG;AACH,wBAAgB,4BAA4B;wBAQ3B,yBAAyB,WAC7B,SAAS,YACR,SAAS;EAmEtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bananapus/nana-sdk-react",
3
- "version": "61.0.0",
3
+ "version": "62.0.0",
4
4
  "description": "Wagmi hooks for Juicebox",
5
5
  "type": "module",
6
6
  "repository": {
@@ -26,7 +26,7 @@
26
26
  "react": "^18.3.1 || ^19.0.0",
27
27
  "viem": "^2.14.1",
28
28
  "wagmi": "^2.10.2",
29
- "@bananapus/nana-sdk-core": "^3.5.0"
29
+ "@bananapus/nana-sdk-core": "^4.0.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@graphql-codegen/cli": "^5.0.2",