@orderly.network/hooks 1.5.1 → 1.5.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"useCheckReferralCode.d.ts","sourceRoot":"","sources":["../../src/referral/useCheckReferralCode.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,UACxB,MAAM;;WAGJ,GAAG;eACC,OAAO;CAqBrB,CAAC"}
1
+ {"version":3,"file":"useCheckReferralCode.d.ts","sourceRoot":"","sources":["../../src/referral/useCheckReferralCode.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,UACxB,MAAM;;WAGJ,GAAG;eACC,OAAO;CAmBrB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { useQuery } from "../useQuery";
2
2
  export const useCheckReferralCode = (code)=>{
3
+ const { data, error, isLoading } = useQuery(typeof code === "undefined" || code?.length === 0 ? null : `/v1/public/referral/verify_ref_code?referral_code=${code}`);
3
4
  if (typeof code === "undefined") {
4
5
  return {
5
6
  isExist: false,
@@ -7,7 +8,6 @@ export const useCheckReferralCode = (code)=>{
7
8
  isLoading: false
8
9
  };
9
10
  }
10
- const { data, error, isLoading } = useQuery(`/v1/public/referral/verify_ref_code?referral_code=${code}`);
11
11
  return {
12
12
  isExist: data?.exist,
13
13
  error,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/referral/useCheckReferralCode.ts"],"sourcesContent":["import { useMemo } from \"react\";\nimport { useQuery } from \"../useQuery\";\n\nexport const useCheckReferralCode = (\n code?: string\n):{\n isExist?: boolean;\n error: any;\n isLoading: boolean;\n } => {\n \n if (typeof code === \"undefined\") {\n return {\n isExist: false,\n error: \"The code is undefined\",\n isLoading: false,\n };\n }\n\n const { data, error, isLoading } = useQuery<{exist?: boolean}>(\n `/v1/public/referral/verify_ref_code?referral_code=${code}`\n );\n \n\n return {\n isExist: data?.exist,\n error,\n isLoading,\n };\n};\n"],"names":["useQuery","useCheckReferralCode","code","isExist","error","isLoading","data","exist"],"rangeMappings":";;;;;;;;;;;;;;;","mappings":"AACA,SAASA,QAAQ,QAAQ,cAAc;AAEvC,OAAO,MAAMC,uBAAuB,CAClCC;IAOA,IAAI,OAAOA,SAAS,aAAa;QAC/B,OAAO;YACHC,SAAS;YACTC,OAAO;YACPC,WAAW;QACf;IACF;IAEA,MAAM,EAAEC,IAAI,EAAEF,KAAK,EAAEC,SAAS,EAAE,GAAGL,SACjC,CAAC,kDAAkD,EAAEE,KAAK,CAAC;IAI7D,OAAO;QACLC,SAASG,MAAMC;QACfH;QACAC;IACF;AACF,EAAE"}
1
+ {"version":3,"sources":["../../src/referral/useCheckReferralCode.ts"],"sourcesContent":["import { useMemo } from \"react\";\nimport { useQuery } from \"../useQuery\";\n\nexport const useCheckReferralCode = (\n code?: string\n):{\n isExist?: boolean;\n error: any;\n isLoading: boolean;\n } => { \n const { data, error, isLoading } = useQuery<{exist?: boolean}>(\n typeof code === \"undefined\" || (code?.length === 0) ? null : `/v1/public/referral/verify_ref_code?referral_code=${code}`\n );\n\n if (typeof code === \"undefined\") {\n return {\n isExist: false,\n error: \"The code is undefined\",\n isLoading: false,\n };\n }\n\n return {\n isExist: data?.exist,\n error,\n isLoading,\n };\n};\n"],"names":["useQuery","useCheckReferralCode","code","data","error","isLoading","length","isExist","exist"],"rangeMappings":";;;;;;;;;;;;;;;","mappings":"AACA,SAASA,QAAQ,QAAQ,cAAc;AAEvC,OAAO,MAAMC,uBAAuB,CAClCC;IAME,MAAM,EAAEC,IAAI,EAAEC,KAAK,EAAEC,SAAS,EAAE,GAAGL,SACjC,OAAOE,SAAS,eAAgBA,MAAMI,WAAW,IAAK,OAAO,CAAC,kDAAkD,EAAEJ,KAAK,CAAC;IAG5H,IAAI,OAAOA,SAAS,aAAa;QAC/B,OAAO;YACHK,SAAS;YACTH,OAAO;YACPC,WAAW;QACf;IACF;IAEA,OAAO;QACLE,SAASJ,MAAMK;QACfJ;QACAC;IACF;AACF,EAAE"}
@@ -1 +1 @@
1
- {"version":3,"file":"useGetReferralCode.d.ts","sourceRoot":"","sources":["../../src/referral/useGetReferralCode.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,eACf,MAAM;;WAGX,GAAG;eACC,OAAO;CAmBrB,CAAC"}
1
+ {"version":3,"file":"useGetReferralCode.d.ts","sourceRoot":"","sources":["../../src/referral/useGetReferralCode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,eACjB,MAAM;;WAGX,GAAG;eACC,OAAO;CAmBnB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { useQuery } from "../useQuery";
2
2
  export const useGetReferralCode = (accountId)=>{
3
+ const { data, error, isLoading } = useQuery(typeof accountId === "undefined" ? null : `/v1/public/referral/check_ref_code?account_id=${accountId}`);
3
4
  if (typeof accountId === "undefined") {
4
5
  return {
5
6
  referral_code: undefined,
@@ -7,7 +8,6 @@ export const useGetReferralCode = (accountId)=>{
7
8
  isLoading: false
8
9
  };
9
10
  }
10
- const { data, error, isLoading } = useQuery(`/v1/public/referral/check_ref_code?account_id=${accountId}`);
11
11
  return {
12
12
  referral_code: data?.referral_code,
13
13
  error,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/referral/useGetReferralCode.ts"],"sourcesContent":["import { useMemo } from \"react\";\nimport { useQuery } from \"../useQuery\";\n\nexport const useGetReferralCode = (\n accountId?: string\n):{\n referral_code?: string;\n error: any;\n isLoading: boolean;\n } => {\n if (typeof accountId === \"undefined\" ) {\n return {\n referral_code: undefined,\n error: \"The account id is empty or undefined\",\n isLoading: false,\n };\n }\n const { data, error, isLoading } = useQuery<{referral_code?: string}>(\n `/v1/public/referral/check_ref_code?account_id=${accountId}`\n );\n \n\n return {\n referral_code: data?.referral_code,\n error,\n isLoading,\n };\n};\n"],"names":["useQuery","useGetReferralCode","accountId","referral_code","undefined","error","isLoading","data"],"rangeMappings":";;;;;;;;;;;;;;;","mappings":"AACA,SAASA,QAAQ,QAAQ,cAAc;AAEvC,OAAO,MAAMC,qBAAqB,CAC9BC;IAMF,IAAI,OAAOA,cAAc,aAAc;QACrC,OAAO;YACLC,eAAeC;YACbC,OAAO;YACPC,WAAW;QACf;IACF;IACA,MAAM,EAAEC,IAAI,EAAEF,KAAK,EAAEC,SAAS,EAAE,GAAGN,SACjC,CAAC,8CAA8C,EAAEE,UAAU,CAAC;IAI9D,OAAO;QACLC,eAAeI,MAAMJ;QACrBE;QACAC;IACF;AACF,EAAE"}
1
+ {"version":3,"sources":["../../src/referral/useGetReferralCode.ts"],"sourcesContent":["import { useQuery } from \"../useQuery\";\n\nexport const useGetReferralCode = (\n accountId?: string\n): {\n referral_code?: string;\n error: any;\n isLoading: boolean;\n} => {\n const { data, error, isLoading } = useQuery<{ referral_code?: string }>(\n typeof accountId === \"undefined\" ? null : `/v1/public/referral/check_ref_code?account_id=${accountId}`\n );\n\n if (typeof accountId === \"undefined\") {\n return {\n referral_code: undefined,\n error: \"The account id is empty or undefined\",\n isLoading: false,\n };\n }\n\n return {\n referral_code: data?.referral_code,\n error,\n isLoading,\n };\n};\n"],"names":["useQuery","useGetReferralCode","accountId","data","error","isLoading","referral_code","undefined"],"rangeMappings":";;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,QAAQ,QAAQ,cAAc;AAEvC,OAAO,MAAMC,qBAAqB,CAChCC;IAMA,MAAM,EAAEC,IAAI,EAAEC,KAAK,EAAEC,SAAS,EAAE,GAAGL,SACjC,OAAOE,cAAc,cAAc,OAAO,CAAC,8CAA8C,EAAEA,UAAU,CAAC;IAGxG,IAAI,OAAOA,cAAc,aAAa;QACpC,OAAO;YACLI,eAAeC;YACfH,OAAO;YACPC,WAAW;QACb;IACF;IAEA,OAAO;QACLC,eAAeH,MAAMG;QACrBF;QACAC;IACF;AACF,EAAE"}
package/esm/version.d.ts CHANGED
@@ -5,6 +5,6 @@ declare global {
5
5
  };
6
6
  }
7
7
  }
8
- declare const _default: "1.5.1";
8
+ declare const _default: "1.5.2";
9
9
  export default _default;
10
10
  //# sourceMappingURL=version.d.ts.map
package/esm/version.js CHANGED
@@ -1,7 +1,7 @@
1
1
  if (typeof window !== 'undefined') {
2
2
  window.__ORDERLY_VERSION__ = window.__ORDERLY_VERSION__ || {};
3
- window.__ORDERLY_VERSION__["@orderly.network/hooks"] = "1.5.1";
3
+ window.__ORDERLY_VERSION__["@orderly.network/hooks"] = "1.5.2";
4
4
  }
5
- export default "1.5.1";
5
+ export default "1.5.2";
6
6
 
7
7
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/version.ts"],"sourcesContent":["\ndeclare global {\n interface Window {\n __ORDERLY_VERSION__?: {\n [key: string]: string;\n };\n }\n}\nif(typeof window !== 'undefined') {\n window.__ORDERLY_VERSION__ = window.__ORDERLY_VERSION__ || {};\n window.__ORDERLY_VERSION__[\"@orderly.network/hooks\"] = \"1.5.1\";\n};\n\nexport default \"1.5.1\";\n"],"names":["window","__ORDERLY_VERSION__"],"rangeMappings":";;;;","mappings":"AAQA,IAAG,OAAOA,WAAW,aAAa;IAC9BA,OAAOC,mBAAmB,GAAGD,OAAOC,mBAAmB,IAAI,CAAC;IAC5DD,OAAOC,mBAAmB,CAAC,yBAAyB,GAAG;AAC3D;AAEA,eAAe,QAAQ"}
1
+ {"version":3,"sources":["../src/version.ts"],"sourcesContent":["\ndeclare global {\n interface Window {\n __ORDERLY_VERSION__?: {\n [key: string]: string;\n };\n }\n}\nif(typeof window !== 'undefined') {\n window.__ORDERLY_VERSION__ = window.__ORDERLY_VERSION__ || {};\n window.__ORDERLY_VERSION__[\"@orderly.network/hooks\"] = \"1.5.2\";\n};\n\nexport default \"1.5.2\";\n"],"names":["window","__ORDERLY_VERSION__"],"rangeMappings":";;;;","mappings":"AAQA,IAAG,OAAOA,WAAW,aAAa;IAC9BA,OAAOC,mBAAmB,GAAGD,OAAOC,mBAAmB,IAAI,CAAC;IAC5DD,OAAOC,mBAAmB,CAAC,yBAAyB,GAAG;AAC3D;AAEA,eAAe,QAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"useCheckReferralCode.d.ts","sourceRoot":"","sources":["../../src/referral/useCheckReferralCode.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,UACxB,MAAM;;WAGJ,GAAG;eACC,OAAO;CAqBrB,CAAC"}
1
+ {"version":3,"file":"useCheckReferralCode.d.ts","sourceRoot":"","sources":["../../src/referral/useCheckReferralCode.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB,UACxB,MAAM;;WAGJ,GAAG;eACC,OAAO;CAmBrB,CAAC"}
@@ -10,6 +10,7 @@ Object.defineProperty(exports, "useCheckReferralCode", {
10
10
  });
11
11
  const _useQuery = require("../useQuery");
12
12
  const useCheckReferralCode = (code)=>{
13
+ const { data, error, isLoading } = (0, _useQuery.useQuery)(typeof code === "undefined" || code?.length === 0 ? null : `/v1/public/referral/verify_ref_code?referral_code=${code}`);
13
14
  if (typeof code === "undefined") {
14
15
  return {
15
16
  isExist: false,
@@ -17,7 +18,6 @@ const useCheckReferralCode = (code)=>{
17
18
  isLoading: false
18
19
  };
19
20
  }
20
- const { data, error, isLoading } = (0, _useQuery.useQuery)(`/v1/public/referral/verify_ref_code?referral_code=${code}`);
21
21
  return {
22
22
  isExist: data?.exist,
23
23
  error,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/referral/useCheckReferralCode.ts"],"sourcesContent":["import { useMemo } from \"react\";\nimport { useQuery } from \"../useQuery\";\n\nexport const useCheckReferralCode = (\n code?: string\n):{\n isExist?: boolean;\n error: any;\n isLoading: boolean;\n } => {\n \n if (typeof code === \"undefined\") {\n return {\n isExist: false,\n error: \"The code is undefined\",\n isLoading: false,\n };\n }\n\n const { data, error, isLoading } = useQuery<{exist?: boolean}>(\n `/v1/public/referral/verify_ref_code?referral_code=${code}`\n );\n \n\n return {\n isExist: data?.exist,\n error,\n isLoading,\n };\n};\n"],"names":["useCheckReferralCode","code","isExist","error","isLoading","data","useQuery","exist"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAGaA;;;eAAAA;;;0BAFY;AAElB,MAAMA,uBAAuB,CAClCC;IAOA,IAAI,OAAOA,SAAS,aAAa;QAC/B,OAAO;YACHC,SAAS;YACTC,OAAO;YACPC,WAAW;QACf;IACF;IAEA,MAAM,EAAEC,IAAI,EAAEF,KAAK,EAAEC,SAAS,EAAE,GAAGE,IAAAA,kBAAQ,EACzC,CAAC,kDAAkD,EAAEL,KAAK,CAAC;IAI7D,OAAO;QACLC,SAASG,MAAME;QACfJ;QACAC;IACF;AACF"}
1
+ {"version":3,"sources":["../../src/referral/useCheckReferralCode.ts"],"sourcesContent":["import { useMemo } from \"react\";\nimport { useQuery } from \"../useQuery\";\n\nexport const useCheckReferralCode = (\n code?: string\n):{\n isExist?: boolean;\n error: any;\n isLoading: boolean;\n } => { \n const { data, error, isLoading } = useQuery<{exist?: boolean}>(\n typeof code === \"undefined\" || (code?.length === 0) ? null : `/v1/public/referral/verify_ref_code?referral_code=${code}`\n );\n\n if (typeof code === \"undefined\") {\n return {\n isExist: false,\n error: \"The code is undefined\",\n isLoading: false,\n };\n }\n\n return {\n isExist: data?.exist,\n error,\n isLoading,\n };\n};\n"],"names":["useCheckReferralCode","code","data","error","isLoading","useQuery","length","isExist","exist"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAGaA;;;eAAAA;;;0BAFY;AAElB,MAAMA,uBAAuB,CAClCC;IAME,MAAM,EAAEC,IAAI,EAAEC,KAAK,EAAEC,SAAS,EAAE,GAAGC,IAAAA,kBAAQ,EACzC,OAAOJ,SAAS,eAAgBA,MAAMK,WAAW,IAAK,OAAO,CAAC,kDAAkD,EAAEL,KAAK,CAAC;IAG5H,IAAI,OAAOA,SAAS,aAAa;QAC/B,OAAO;YACHM,SAAS;YACTJ,OAAO;YACPC,WAAW;QACf;IACF;IAEA,OAAO;QACLG,SAASL,MAAMM;QACfL;QACAC;IACF;AACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"useGetReferralCode.d.ts","sourceRoot":"","sources":["../../src/referral/useGetReferralCode.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,eACf,MAAM;;WAGX,GAAG;eACC,OAAO;CAmBrB,CAAC"}
1
+ {"version":3,"file":"useGetReferralCode.d.ts","sourceRoot":"","sources":["../../src/referral/useGetReferralCode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,eACjB,MAAM;;WAGX,GAAG;eACC,OAAO;CAmBnB,CAAC"}
@@ -10,6 +10,7 @@ Object.defineProperty(exports, "useGetReferralCode", {
10
10
  });
11
11
  const _useQuery = require("../useQuery");
12
12
  const useGetReferralCode = (accountId)=>{
13
+ const { data, error, isLoading } = (0, _useQuery.useQuery)(typeof accountId === "undefined" ? null : `/v1/public/referral/check_ref_code?account_id=${accountId}`);
13
14
  if (typeof accountId === "undefined") {
14
15
  return {
15
16
  referral_code: undefined,
@@ -17,7 +18,6 @@ const useGetReferralCode = (accountId)=>{
17
18
  isLoading: false
18
19
  };
19
20
  }
20
- const { data, error, isLoading } = (0, _useQuery.useQuery)(`/v1/public/referral/check_ref_code?account_id=${accountId}`);
21
21
  return {
22
22
  referral_code: data?.referral_code,
23
23
  error,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/referral/useGetReferralCode.ts"],"sourcesContent":["import { useMemo } from \"react\";\nimport { useQuery } from \"../useQuery\";\n\nexport const useGetReferralCode = (\n accountId?: string\n):{\n referral_code?: string;\n error: any;\n isLoading: boolean;\n } => {\n if (typeof accountId === \"undefined\" ) {\n return {\n referral_code: undefined,\n error: \"The account id is empty or undefined\",\n isLoading: false,\n };\n }\n const { data, error, isLoading } = useQuery<{referral_code?: string}>(\n `/v1/public/referral/check_ref_code?account_id=${accountId}`\n );\n \n\n return {\n referral_code: data?.referral_code,\n error,\n isLoading,\n };\n};\n"],"names":["useGetReferralCode","accountId","referral_code","undefined","error","isLoading","data","useQuery"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAGaA;;;eAAAA;;;0BAFY;AAElB,MAAMA,qBAAqB,CAC9BC;IAMF,IAAI,OAAOA,cAAc,aAAc;QACrC,OAAO;YACLC,eAAeC;YACbC,OAAO;YACPC,WAAW;QACf;IACF;IACA,MAAM,EAAEC,IAAI,EAAEF,KAAK,EAAEC,SAAS,EAAE,GAAGE,IAAAA,kBAAQ,EACzC,CAAC,8CAA8C,EAAEN,UAAU,CAAC;IAI9D,OAAO;QACLC,eAAeI,MAAMJ;QACrBE;QACAC;IACF;AACF"}
1
+ {"version":3,"sources":["../../src/referral/useGetReferralCode.ts"],"sourcesContent":["import { useQuery } from \"../useQuery\";\n\nexport const useGetReferralCode = (\n accountId?: string\n): {\n referral_code?: string;\n error: any;\n isLoading: boolean;\n} => {\n const { data, error, isLoading } = useQuery<{ referral_code?: string }>(\n typeof accountId === \"undefined\" ? null : `/v1/public/referral/check_ref_code?account_id=${accountId}`\n );\n\n if (typeof accountId === \"undefined\") {\n return {\n referral_code: undefined,\n error: \"The account id is empty or undefined\",\n isLoading: false,\n };\n }\n\n return {\n referral_code: data?.referral_code,\n error,\n isLoading,\n };\n};\n"],"names":["useGetReferralCode","accountId","data","error","isLoading","useQuery","referral_code","undefined"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAEaA;;;eAAAA;;;0BAFY;AAElB,MAAMA,qBAAqB,CAChCC;IAMA,MAAM,EAAEC,IAAI,EAAEC,KAAK,EAAEC,SAAS,EAAE,GAAGC,IAAAA,kBAAQ,EACzC,OAAOJ,cAAc,cAAc,OAAO,CAAC,8CAA8C,EAAEA,UAAU,CAAC;IAGxG,IAAI,OAAOA,cAAc,aAAa;QACpC,OAAO;YACLK,eAAeC;YACfJ,OAAO;YACPC,WAAW;QACb;IACF;IAEA,OAAO;QACLE,eAAeJ,MAAMI;QACrBH;QACAC;IACF;AACF"}
package/lib/version.d.ts CHANGED
@@ -5,6 +5,6 @@ declare global {
5
5
  };
6
6
  }
7
7
  }
8
- declare const _default: "1.5.1";
8
+ declare const _default: "1.5.2";
9
9
  export default _default;
10
10
  //# sourceMappingURL=version.d.ts.map
package/lib/version.js CHANGED
@@ -10,8 +10,8 @@ Object.defineProperty(exports, "default", {
10
10
  });
11
11
  if (typeof window !== 'undefined') {
12
12
  window.__ORDERLY_VERSION__ = window.__ORDERLY_VERSION__ || {};
13
- window.__ORDERLY_VERSION__["@orderly.network/hooks"] = "1.5.1";
13
+ window.__ORDERLY_VERSION__["@orderly.network/hooks"] = "1.5.2";
14
14
  }
15
- const _default = "1.5.1";
15
+ const _default = "1.5.2";
16
16
 
17
17
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/version.ts"],"sourcesContent":["\ndeclare global {\n interface Window {\n __ORDERLY_VERSION__?: {\n [key: string]: string;\n };\n }\n}\nif(typeof window !== 'undefined') {\n window.__ORDERLY_VERSION__ = window.__ORDERLY_VERSION__ || {};\n window.__ORDERLY_VERSION__[\"@orderly.network/hooks\"] = \"1.5.1\";\n};\n\nexport default \"1.5.1\";\n"],"names":["window","__ORDERLY_VERSION__"],"rangeMappings":";;;;;;;;;;;;;;","mappings":";;;;+BAaA;;;eAAA;;;AALA,IAAG,OAAOA,WAAW,aAAa;IAC9BA,OAAOC,mBAAmB,GAAGD,OAAOC,mBAAmB,IAAI,CAAC;IAC5DD,OAAOC,mBAAmB,CAAC,yBAAyB,GAAG;AAC3D;MAEA,WAAe"}
1
+ {"version":3,"sources":["../src/version.ts"],"sourcesContent":["\ndeclare global {\n interface Window {\n __ORDERLY_VERSION__?: {\n [key: string]: string;\n };\n }\n}\nif(typeof window !== 'undefined') {\n window.__ORDERLY_VERSION__ = window.__ORDERLY_VERSION__ || {};\n window.__ORDERLY_VERSION__[\"@orderly.network/hooks\"] = \"1.5.2\";\n};\n\nexport default \"1.5.2\";\n"],"names":["window","__ORDERLY_VERSION__"],"rangeMappings":";;;;;;;;;;;;;;","mappings":";;;;+BAaA;;;eAAA;;;AALA,IAAG,OAAOA,WAAW,aAAa;IAC9BA,OAAOC,mBAAmB,GAAGD,OAAOC,mBAAmB,IAAI,CAAC;IAC5DD,OAAOC,mBAAmB,CAAC,yBAAyB,GAAG;AAC3D;MAEA,WAAe"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderly.network/hooks",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "esm/index.js",
@@ -32,7 +32,7 @@
32
32
  "tsup": "^7.1.0",
33
33
  "typedoc": "^0.24.8",
34
34
  "typescript": "^5.1.6",
35
- "tsconfig": "0.3.1"
35
+ "tsconfig": "0.3.2"
36
36
  },
37
37
  "dependencies": {
38
38
  "@akamfoad/qr": "^0.4.0",
@@ -40,11 +40,11 @@
40
40
  "swr": "2.2.4",
41
41
  "use-constant": "^1.1.1",
42
42
  "use-debounce": "^9.0.4",
43
- "@orderly.network/core": "1.5.1",
44
- "@orderly.network/net": "1.5.1",
45
- "@orderly.network/types": "1.5.1",
46
- "@orderly.network/perp": "3.3.1",
47
- "@orderly.network/utils": "1.5.1"
43
+ "@orderly.network/core": "1.5.2",
44
+ "@orderly.network/net": "1.5.2",
45
+ "@orderly.network/types": "1.5.2",
46
+ "@orderly.network/utils": "1.5.2",
47
+ "@orderly.network/perp": "3.3.2"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"