@gardenfi/utils 0.0.1-beta.19 → 0.0.1-beta.20

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/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index2.cjs"),e=require("./index3.cjs"),i=require("./index4.cjs"),c=require("./index5.cjs"),r=require("./index6.cjs"),s=require("./index7.cjs"),u=require("./index8.cjs"),t=require("./index9.cjs");exports.ApiStatus=o.ApiStatus;exports.Authorization=e.Authorization;exports.Network=e.Network;exports.sleep=e.sleep;exports.with0x=e.with0x;exports.checkAllowanceAndApprove=i.checkAllowanceAndApprove;exports.Url=c.Url;exports.Siwe=r.Siwe;exports.parseJwt=r.parseJwt;exports.MemoryStorage=s.MemoryStorage;exports.StoreKeys=u.StoreKeys;exports.fetchBitcoinBlockNumber=t.fetchBitcoinBlockNumber;exports.fetchEVMBlockNumber=t.fetchEVMBlockNumber;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index2.cjs"),e=require("./index3.cjs"),i=require("./index4.cjs"),c=require("./index5.cjs"),r=require("./index6.cjs"),n=require("./index7.cjs"),s=require("./index8.cjs"),t=require("./index9.cjs");exports.ApiStatus=o.ApiStatus;exports.Authorization=e.Authorization;exports.Environment=e.Environment;exports.Network=e.Network;exports.sleep=e.sleep;exports.with0x=e.with0x;exports.checkAllowanceAndApprove=i.checkAllowanceAndApprove;exports.Url=c.Url;exports.Siwe=r.Siwe;exports.parseJwt=r.parseJwt;exports.MemoryStorage=n.MemoryStorage;exports.StoreKeys=s.StoreKeys;exports.fetchBitcoinBlockNumber=t.fetchBitcoinBlockNumber;exports.fetchEVMBlockNumber=t.fetchEVMBlockNumber;
package/dist/index.js CHANGED
@@ -1,23 +1,24 @@
1
1
  import { ApiStatus as e } from "./index2.js";
2
- import { Authorization as p, Network as m, sleep as f, with0x as x } from "./index3.js";
3
- import { checkAllowanceAndApprove as i } from "./index4.js";
2
+ import { Authorization as p, Environment as m, Network as f, sleep as x, with0x as c } from "./index3.js";
3
+ import { checkAllowanceAndApprove as n } from "./index4.js";
4
4
  import { Url as a } from "./index5.js";
5
5
  import { Siwe as w, parseJwt as A } from "./index6.js";
6
- import { MemoryStorage as n } from "./index7.js";
7
- import { StoreKeys as u } from "./index8.js";
8
- import { fetchBitcoinBlockNumber as B, fetchEVMBlockNumber as N } from "./index9.js";
6
+ import { MemoryStorage as s } from "./index7.js";
7
+ import { StoreKeys as S } from "./index8.js";
8
+ import { fetchBitcoinBlockNumber as N, fetchEVMBlockNumber as b } from "./index9.js";
9
9
  export {
10
10
  e as ApiStatus,
11
11
  p as Authorization,
12
- n as MemoryStorage,
13
- m as Network,
12
+ m as Environment,
13
+ s as MemoryStorage,
14
+ f as Network,
14
15
  w as Siwe,
15
- u as StoreKeys,
16
+ S as StoreKeys,
16
17
  a as Url,
17
- i as checkAllowanceAndApprove,
18
- B as fetchBitcoinBlockNumber,
19
- N as fetchEVMBlockNumber,
18
+ n as checkAllowanceAndApprove,
19
+ N as fetchBitcoinBlockNumber,
20
+ b as fetchEVMBlockNumber,
20
21
  A as parseJwt,
21
- f as sleep,
22
- x as with0x
22
+ x as sleep,
23
+ c as with0x
23
24
  };
package/dist/index3.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=t=>t.startsWith("0x")?t:`0x${t}`,n=t=>`Bearer ${t}`,o=t=>new Promise(r=>setTimeout(r,t));var e=(t=>(t.MAINNET="mainnet",t.TESTNET="testnet",t))(e||{});exports.Authorization=n;exports.Network=e;exports.sleep=o;exports.with0x=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=t=>t.startsWith("0x")?t:`0x${t}`,o=t=>`Bearer ${t}`,a=t=>new Promise(n=>setTimeout(n,t));var e=(t=>(t.MAINNET="mainnet",t.TESTNET="testnet",t))(e||{}),r=(t=>(t.MAINNET="mainnet",t.TESTNET="testnet",t.LOCALNET="localnet",t))(r||{});exports.Authorization=o;exports.Environment=r;exports.Network=e;exports.sleep=a;exports.with0x=i;
package/dist/index3.js CHANGED
@@ -1,8 +1,9 @@
1
- const r = (t) => t.startsWith("0x") ? t : `0x${t}`, i = (t) => `Bearer ${t}`, o = (t) => new Promise((e) => setTimeout(e, t));
2
- var n = /* @__PURE__ */ ((t) => (t.MAINNET = "mainnet", t.TESTNET = "testnet", t))(n || {});
1
+ const T = (t) => t.startsWith("0x") ? t : `0x${t}`, a = (t) => `Bearer ${t}`, s = (t) => new Promise((e) => setTimeout(e, t));
2
+ var r = /* @__PURE__ */ ((t) => (t.MAINNET = "mainnet", t.TESTNET = "testnet", t))(r || {}), n = /* @__PURE__ */ ((t) => (t.MAINNET = "mainnet", t.TESTNET = "testnet", t.LOCALNET = "localnet", t))(n || {});
3
3
  export {
4
- i as Authorization,
5
- n as Network,
6
- o as sleep,
7
- r as with0x
4
+ a as Authorization,
5
+ n as Environment,
6
+ r as Network,
7
+ s as sleep,
8
+ T as with0x
8
9
  };
@@ -10,3 +10,8 @@ export declare enum Network {
10
10
  MAINNET = "mainnet",
11
11
  TESTNET = "testnet"
12
12
  }
13
+ export declare enum Environment {
14
+ MAINNET = "mainnet",
15
+ TESTNET = "testnet",
16
+ LOCALNET = "localnet"
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gardenfi/utils",
3
- "version": "0.0.1-beta.19",
3
+ "version": "0.0.1-beta.20",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "vite build",