@reown/appkit-common 0.0.3
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/LICENSE +190 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/src/contracts/erc20.js +223 -0
- package/dist/esm/src/contracts/erc20.js.map +1 -0
- package/dist/esm/src/utils/ConstantsUtil.js +17 -0
- package/dist/esm/src/utils/ConstantsUtil.js.map +1 -0
- package/dist/esm/src/utils/DateUtil.js +38 -0
- package/dist/esm/src/utils/DateUtil.js.map +1 -0
- package/dist/esm/src/utils/InputUtil.js +53 -0
- package/dist/esm/src/utils/InputUtil.js.map +1 -0
- package/dist/esm/src/utils/NavigationUtil.js +6 -0
- package/dist/esm/src/utils/NavigationUtil.js.map +1 -0
- package/dist/esm/src/utils/NetworkUtil.js +11 -0
- package/dist/esm/src/utils/NetworkUtil.js.map +1 -0
- package/dist/esm/src/utils/NumberUtil.js +30 -0
- package/dist/esm/src/utils/NumberUtil.js.map +1 -0
- package/dist/esm/src/utils/ParseUtil.js +28 -0
- package/dist/esm/src/utils/ParseUtil.js.map +1 -0
- package/dist/esm/src/utils/SafeLocalStorage.js +37 -0
- package/dist/esm/src/utils/SafeLocalStorage.js.map +1 -0
- package/dist/esm/src/utils/ThemeUtil.js +13 -0
- package/dist/esm/src/utils/ThemeUtil.js.map +1 -0
- package/dist/esm/src/utils/TypeUtil.js +2 -0
- package/dist/esm/src/utils/TypeUtil.js.map +1 -0
- package/dist/esm/tests/DateUtil.test.js +34 -0
- package/dist/esm/tests/DateUtil.test.js.map +1 -0
- package/dist/esm/tests/NumberUtil.test.js +9 -0
- package/dist/esm/tests/NumberUtil.test.js.map +1 -0
- package/dist/esm/tests/SafeLocalStorage.test.js +39 -0
- package/dist/esm/tests/SafeLocalStorage.test.js.map +1 -0
- package/dist/esm/tsconfig.tsbuildinfo +1 -0
- package/dist/types/index.d.ts +13 -0
- package/dist/types/src/contracts/erc20.d.ts +38 -0
- package/dist/types/src/utils/ConstantsUtil.d.ts +16 -0
- package/dist/types/src/utils/DateUtil.d.ts +5 -0
- package/dist/types/src/utils/InputUtil.d.ts +3 -0
- package/dist/types/src/utils/NavigationUtil.d.ts +5 -0
- package/dist/types/src/utils/NetworkUtil.d.ts +5 -0
- package/dist/types/src/utils/NumberUtil.d.ts +6 -0
- package/dist/types/src/utils/ParseUtil.d.ts +15 -0
- package/dist/types/src/utils/SafeLocalStorage.d.ts +19 -0
- package/dist/types/src/utils/ThemeUtil.d.ts +18 -0
- package/dist/types/src/utils/TypeUtil.d.ts +91 -0
- package/dist/types/tests/DateUtil.test.d.ts +1 -0
- package/dist/types/tests/NumberUtil.test.d.ts +1 -0
- package/dist/types/tests/SafeLocalStorage.test.d.ts +1 -0
- package/package.json +43 -0
- package/readme.md +11 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export const SafeLocalStorageKeys = {
|
|
2
|
+
WALLET_ID: '@w3m/wallet_id',
|
|
3
|
+
WALLET_NAME: '@w3m/wallet_name',
|
|
4
|
+
SOLANA_WALLET: '@w3m/solana_wallet',
|
|
5
|
+
SOLANA_CAIP_CHAIN: '@w3m/solana_caip_chain',
|
|
6
|
+
ACTIVE_CAIP_NETWORK: '@w3m/active_caip_network'
|
|
7
|
+
};
|
|
8
|
+
export const SafeLocalStorage = {
|
|
9
|
+
setItem(key, value) {
|
|
10
|
+
if (isSafe()) {
|
|
11
|
+
localStorage.setItem(key, JSON.stringify(value));
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
getItem(key) {
|
|
15
|
+
if (isSafe()) {
|
|
16
|
+
const value = localStorage.getItem(key);
|
|
17
|
+
if (value) {
|
|
18
|
+
try {
|
|
19
|
+
return JSON.parse(value);
|
|
20
|
+
}
|
|
21
|
+
catch {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
return null;
|
|
27
|
+
},
|
|
28
|
+
removeItem(key) {
|
|
29
|
+
if (isSafe()) {
|
|
30
|
+
localStorage.removeItem(key);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
function isSafe() {
|
|
35
|
+
return typeof window !== 'undefined' && typeof localStorage !== 'undefined';
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=SafeLocalStorage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SafeLocalStorage.js","sourceRoot":"","sources":["../../../../src/utils/SafeLocalStorage.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,SAAS,EAAE,gBAAgB;IAC3B,WAAW,EAAE,kBAAkB;IAC/B,aAAa,EAAE,oBAAoB;IACnC,iBAAiB,EAAE,wBAAwB;IAC3C,mBAAmB,EAAE,0BAA0B;CACvC,CAAA;AAEV,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,OAAO,CACL,GAAQ,EACR,KAAiC;QAEjC,IAAI,MAAM,EAAE,EAAE,CAAC;YACb,YAAY,CAAC,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAA;QAClD,CAAC;IACH,CAAC;IACD,OAAO,CAA0C,GAAQ;QACvD,IAAI,MAAM,EAAE,EAAE,CAAC;YACb,MAAM,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;YAEvC,IAAI,KAAK,EAAE,CAAC;gBACV,IAAI,CAAC;oBACH,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;gBAC1B,CAAC;gBAAC,MAAM,CAAC;oBACP,OAAO,IAAI,CAAA;gBACb,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO,IAAI,CAAA;IACb,CAAC;IACD,UAAU,CAA0C,GAAQ;QAC1D,IAAI,MAAM,EAAE,EAAE,CAAC;YACb,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;QAC9B,CAAC;IACH,CAAC;CACF,CAAA;AAED,SAAS,MAAM;IACb,OAAO,OAAO,MAAM,KAAK,WAAW,IAAI,OAAO,YAAY,KAAK,WAAW,CAAA;AAC7E,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export function getW3mThemeVariables(themeVariables, themeType) {
|
|
2
|
+
if (themeType === 'light') {
|
|
3
|
+
return {
|
|
4
|
+
'--w3m-accent': themeVariables?.['--w3m-accent'] || 'hsla(231, 100%, 70%, 1)',
|
|
5
|
+
'--w3m-background': '#fff'
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
return {
|
|
9
|
+
'--w3m-accent': themeVariables?.['--w3m-accent'] || 'hsla(230, 100%, 67%, 1)',
|
|
10
|
+
'--w3m-background': '#121313'
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=ThemeUtil.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeUtil.js","sourceRoot":"","sources":["../../../../src/utils/ThemeUtil.ts"],"names":[],"mappings":"AAmBA,MAAM,UAAU,oBAAoB,CAAC,cAA+B,EAAE,SAAqB;IACzF,IAAI,SAAS,KAAK,OAAO,EAAE,CAAC;QAC1B,OAAO;YACL,cAAc,EAAE,cAAc,EAAE,CAAC,cAAc,CAAC,IAAI,yBAAyB;YAC7E,kBAAkB,EAAE,MAAM;SAC3B,CAAA;IACH,CAAC;IAED,OAAO;QACL,cAAc,EAAE,cAAc,EAAE,CAAC,cAAc,CAAC,IAAI,yBAAyB;QAC7E,kBAAkB,EAAE,SAAS;KAC9B,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypeUtil.js","sourceRoot":"","sources":["../../../../src/utils/TypeUtil.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
|
|
2
|
+
import { DateUtil } from '../src/utils/DateUtil.js';
|
|
3
|
+
const fakeDateTime = new Date(2023, 1, 1, 12);
|
|
4
|
+
const fakeDateTimeOneHourAgo = new Date(2023, 1, 1, 11);
|
|
5
|
+
const fakeDateTimeOneTwoMinsAgo = new Date(2023, 1, 1, 12, 2);
|
|
6
|
+
const fakeDateTimeOneSecondAgo = new Date(2023, 1, 1, 12, 0, 30);
|
|
7
|
+
describe('DateUtil', () => {
|
|
8
|
+
beforeEach(() => {
|
|
9
|
+
vi.useFakeTimers();
|
|
10
|
+
});
|
|
11
|
+
afterEach(() => {
|
|
12
|
+
vi.useRealTimers();
|
|
13
|
+
});
|
|
14
|
+
it('should return this year as expected', () => {
|
|
15
|
+
vi.setSystemTime(fakeDateTime);
|
|
16
|
+
expect(DateUtil.getYear()).toEqual(2023);
|
|
17
|
+
});
|
|
18
|
+
it('should return relative time for one hour ago', () => {
|
|
19
|
+
vi.setSystemTime(fakeDateTime);
|
|
20
|
+
expect(DateUtil.getRelativeDateFromNow(fakeDateTimeOneHourAgo.getTime())).toEqual('1 hr');
|
|
21
|
+
});
|
|
22
|
+
it('should return relative time for minutes ago', () => {
|
|
23
|
+
vi.setSystemTime(fakeDateTime);
|
|
24
|
+
expect(DateUtil.getRelativeDateFromNow(fakeDateTimeOneTwoMinsAgo.getTime())).toEqual('2 min');
|
|
25
|
+
});
|
|
26
|
+
it('should return relative time for seconds ago', () => {
|
|
27
|
+
vi.setSystemTime(fakeDateTime);
|
|
28
|
+
expect(DateUtil.getRelativeDateFromNow(fakeDateTimeOneSecondAgo.getTime())).toEqual('30 sec');
|
|
29
|
+
});
|
|
30
|
+
it('should format date correctly', () => {
|
|
31
|
+
expect(DateUtil.formatDate(fakeDateTime.toDateString())).toEqual('01 Feb');
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=DateUtil.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateUtil.test.js","sourceRoot":"","sources":["../../../tests/DateUtil.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAA;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AAEnD,MAAM,YAAY,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAA;AAC7C,MAAM,sBAAsB,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAA;AACvD,MAAM,yBAAyB,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAA;AAC7D,MAAM,wBAAwB,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAA;AAGhE,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACxB,UAAU,CAAC,GAAG,EAAE;QACd,EAAE,CAAC,aAAa,EAAE,CAAA;IACpB,CAAC,CAAC,CAAA;IAEF,SAAS,CAAC,GAAG,EAAE;QACb,EAAE,CAAC,aAAa,EAAE,CAAA;IACpB,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,qCAAqC,EAAE,GAAG,EAAE;QAC7C,EAAE,CAAC,aAAa,CAAC,YAAY,CAAC,CAAA;QAE9B,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IAC1C,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,8CAA8C,EAAE,GAAG,EAAE;QACtD,EAAE,CAAC,aAAa,CAAC,YAAY,CAAC,CAAA;QAE9B,MAAM,CAAC,QAAQ,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;IAC3F,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE;QACrD,EAAE,CAAC,aAAa,CAAC,YAAY,CAAC,CAAA;QAE9B,MAAM,CAAC,QAAQ,CAAC,sBAAsB,CAAC,yBAAyB,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;IAC/F,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE;QACrD,EAAE,CAAC,aAAa,CAAC,YAAY,CAAC,CAAA;QAE9B,MAAM,CAAC,QAAQ,CAAC,sBAAsB,CAAC,wBAAwB,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;IAC/F,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;QACtC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,YAAY,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;IAC5E,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
import { NumberUtil } from '../src/utils/NumberUtil.js';
|
|
3
|
+
describe('NumberUtil', () => {
|
|
4
|
+
it('should return isGreaterThan as expected', () => {
|
|
5
|
+
const isGreaterThan = NumberUtil.bigNumber('6.348').isGreaterThan('0');
|
|
6
|
+
expect(isGreaterThan).toBe(true);
|
|
7
|
+
});
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=NumberUtil.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberUtil.test.js","sourceRoot":"","sources":["../../../tests/NumberUtil.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AAGvD,QAAQ,CAAC,YAAY,EAAE,GAAG,EAAE;IAC1B,EAAE,CAAC,yCAAyC,EAAE,GAAG,EAAE;QACjD,MAAM,aAAa,GAAG,UAAU,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;QACtE,MAAM,CAAC,aAAa,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAClC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { afterAll, beforeAll, describe, expect, it, vi } from 'vitest';
|
|
2
|
+
import { SafeLocalStorage } from '../src/utils/SafeLocalStorage';
|
|
3
|
+
const previousLocalStorage = globalThis.localStorage;
|
|
4
|
+
const previousWindow = globalThis.window;
|
|
5
|
+
afterAll(() => {
|
|
6
|
+
Object.assign(globalThis, { localStorage: previousLocalStorage, window: previousWindow });
|
|
7
|
+
});
|
|
8
|
+
describe('SafeLocalStorage unsafe', () => {
|
|
9
|
+
beforeAll(() => {
|
|
10
|
+
Object.assign(globalThis, { window: {}, localStorage: undefined });
|
|
11
|
+
});
|
|
12
|
+
it('should not setItem', () => {
|
|
13
|
+
const key = '@w3m/wallet_id';
|
|
14
|
+
expect(SafeLocalStorage.setItem(key, '1')).toBe(undefined);
|
|
15
|
+
expect(SafeLocalStorage.getItem(key)).toBe(null);
|
|
16
|
+
expect(SafeLocalStorage.removeItem(key)).toBe(undefined);
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
describe('SafeLocalStorage safe', () => {
|
|
20
|
+
let getItem = vi.fn(() => '{"test":"test"}');
|
|
21
|
+
let setItem = vi.fn();
|
|
22
|
+
let removeItem = vi.fn();
|
|
23
|
+
beforeAll(() => {
|
|
24
|
+
Object.assign(globalThis, { window: {}, localStorage: { getItem, setItem, removeItem } });
|
|
25
|
+
});
|
|
26
|
+
it('should setItem', () => {
|
|
27
|
+
expect(SafeLocalStorage.setItem('@w3m/wallet_id', 'test')).toBe(undefined);
|
|
28
|
+
expect(setItem).toHaveBeenCalledWith('@w3m/wallet_id', '"test"');
|
|
29
|
+
});
|
|
30
|
+
it('should getItem', () => {
|
|
31
|
+
expect(SafeLocalStorage.getItem('@w3m/wallet_id')).toEqual({ test: 'test' });
|
|
32
|
+
expect(getItem).toHaveBeenCalledWith('@w3m/wallet_id');
|
|
33
|
+
});
|
|
34
|
+
it('should removeItem', () => {
|
|
35
|
+
expect(SafeLocalStorage.removeItem('@w3m/wallet_id')).toBe(undefined);
|
|
36
|
+
expect(removeItem).toHaveBeenCalledWith('@w3m/wallet_id');
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=SafeLocalStorage.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SafeLocalStorage.test.js","sourceRoot":"","sources":["../../../tests/SafeLocalStorage.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAA;AAEtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAEhE,MAAM,oBAAoB,GAAG,UAAU,CAAC,YAAY,CAAA;AACpD,MAAM,cAAc,GAAG,UAAU,CAAC,MAAM,CAAA;AAExC,QAAQ,CAAC,GAAG,EAAE;IACZ,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC,CAAA;AAC3F,CAAC,CAAC,CAAA;AAEF,QAAQ,CAAC,yBAAyB,EAAE,GAAG,EAAE;IACvC,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC,CAAA;IACpE,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,oBAAoB,EAAE,GAAG,EAAE;QAC5B,MAAM,GAAG,GAAG,gBAAgB,CAAA;QAE5B,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QAC1D,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAChD,MAAM,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;IAC1D,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA;AAEF,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACrC,IAAI,OAAO,GAAG,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,iBAAiB,CAAC,CAAA;IAC5C,IAAI,OAAO,GAAG,EAAE,CAAC,EAAE,EAAE,CAAA;IACrB,IAAI,UAAU,GAAG,EAAE,CAAC,EAAE,EAAE,CAAA;IAExB,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,CAAC,CAAA;IAC3F,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,gBAAgB,EAAE,GAAG,EAAE;QACxB,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QAC1E,MAAM,CAAC,OAAO,CAAC,CAAC,oBAAoB,CAAC,gBAAgB,EAAE,QAAQ,CAAC,CAAA;IAClE,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,gBAAgB,EAAE,GAAG,EAAE;QACxB,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAA;QAC5E,MAAM,CAAC,OAAO,CAAC,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,CAAA;IACxD,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,mBAAmB,EAAE,GAAG,EAAE;QAC3B,MAAM,CAAC,gBAAgB,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QACrE,MAAM,CAAC,UAAU,CAAC,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,CAAA;IAC3D,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/locale/types.d.ts","../../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/locale/index.d.ts","../../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/index.d.ts","../../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/relativetime.d.ts","../../../../node_modules/.pnpm/dayjs@1.11.10/node_modules/dayjs/plugin/updatelocale.d.ts","../../src/utils/dateutil.ts","../../src/utils/typeutil.ts","../../src/utils/networkutil.ts","../../../../node_modules/.pnpm/bignumber.js@9.1.2/node_modules/bignumber.js/bignumber.d.ts","../../src/utils/numberutil.ts","../../src/utils/inpututil.ts","../../src/contracts/erc20.ts","../../src/utils/navigationutil.ts","../../src/utils/constantsutil.ts","../../src/utils/parseutil.ts","../../src/utils/safelocalstorage.ts","../../src/utils/themeutil.ts","../../index.ts","../../../../node_modules/.pnpm/@vitest+utils@2.0.3/node_modules/@vitest/utils/dist/types.d.ts","../../../../node_modules/.pnpm/@vitest+utils@2.0.3/node_modules/@vitest/utils/dist/helpers.d.ts","../../../../node_modules/.pnpm/@vitest+pretty-format@2.0.3/node_modules/@vitest/pretty-format/dist/index.d.ts","../../../../node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/index-c1cfc5e9.d.ts","../../../../node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/node.d.ts","../../../../node_modules/.pnpm/@vitest+utils@2.0.3/node_modules/@vitest/utils/dist/index.d.ts","../../../../node_modules/.pnpm/@vitest+runner@2.0.3/node_modules/@vitest/runner/dist/tasks-waktruk9.d.ts","../../../../node_modules/.pnpm/@vitest+utils@2.0.3/node_modules/@vitest/utils/dist/types-bxe-2udy.d.ts","../../../../node_modules/.pnpm/@vitest+utils@2.0.3/node_modules/@vitest/utils/dist/diff.d.ts","../../../../node_modules/.pnpm/@vitest+runner@2.0.3/node_modules/@vitest/runner/dist/types.d.ts","../../../../node_modules/.pnpm/@vitest+utils@2.0.3/node_modules/@vitest/utils/dist/error.d.ts","../../../../node_modules/.pnpm/@vitest+runner@2.0.3/node_modules/@vitest/runner/dist/index.d.ts","../../../../node_modules/.pnpm/@vitest+runner@2.0.3/node_modules/@vitest/runner/dist/utils.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/assert.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/header.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/readable.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/file.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/fetch.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/formdata.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/connector.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/client.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/errors.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/global-origin.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/pool.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/handlers.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/agent.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-client.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/api.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/cookies.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/patch.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/filereader.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/websocket.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/content-type.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/cache.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/interceptors.d.ts","../../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/index.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/globals.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/buffer.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/child_process.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/cluster.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/console.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/constants.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/crypto.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/dgram.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/dns.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/domain.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/dom-events.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/events.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/fs.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/http.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/http2.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/https.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/inspector.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/module.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/net.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/os.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/path.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/process.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/punycode.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/querystring.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/readline.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/repl.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/stream.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/stream/web.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/test.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/timers.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/tls.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/trace_events.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/tty.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/url.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/util.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/v8.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/vm.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/wasi.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/zlib.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/globals.global.d.ts","../../../../node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/index.d.ts","../../../../node_modules/.pnpm/@types+estree@1.0.5/node_modules/@types/estree/index.d.ts","../../../../node_modules/.pnpm/rollup@4.21.3/node_modules/rollup/dist/rollup.d.ts","../../../../node_modules/.pnpm/rollup@4.21.3/node_modules/rollup/dist/parseast.d.ts","../../../../node_modules/.pnpm/vite@5.2.11_@types+node@20.11.5_terser@5.32.0/node_modules/vite/types/hmrpayload.d.ts","../../../../node_modules/.pnpm/vite@5.2.11_@types+node@20.11.5_terser@5.32.0/node_modules/vite/types/customevent.d.ts","../../../../node_modules/.pnpm/vite@5.2.11_@types+node@20.11.5_terser@5.32.0/node_modules/vite/types/hot.d.ts","../../../../node_modules/.pnpm/vite@5.2.11_@types+node@20.11.5_terser@5.32.0/node_modules/vite/dist/node/types.d-agj9qkwt.d.ts","../../../../node_modules/.pnpm/esbuild@0.20.2/node_modules/esbuild/lib/main.d.ts","../../../../node_modules/.pnpm/source-map-js@1.2.1/node_modules/source-map-js/source-map.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/previous-map.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/input.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/css-syntax-error.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/declaration.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/root.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/warning.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/lazy-result.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/no-work-result.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/processor.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/result.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/document.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/rule.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/node.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/comment.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/container.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/at-rule.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/list.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/postcss.d.ts","../../../../node_modules/.pnpm/postcss@8.4.45/node_modules/postcss/lib/postcss.d.mts","../../../../node_modules/.pnpm/vite@5.2.11_@types+node@20.11.5_terser@5.32.0/node_modules/vite/dist/node/runtime.d.ts","../../../../node_modules/.pnpm/vite@5.2.11_@types+node@20.11.5_terser@5.32.0/node_modules/vite/types/importglob.d.ts","../../../../node_modules/.pnpm/vite@5.2.11_@types+node@20.11.5_terser@5.32.0/node_modules/vite/types/metadata.d.ts","../../../../node_modules/.pnpm/vite@5.2.11_@types+node@20.11.5_terser@5.32.0/node_modules/vite/dist/node/index.d.ts","../../../../node_modules/.pnpm/@vitest+pretty-format@2.1.0/node_modules/@vitest/pretty-format/dist/index.d.ts","../../../../node_modules/.pnpm/vite-node@2.0.3_@types+node@20.11.5_terser@5.32.0/node_modules/vite-node/dist/trace-mapping.d-dlvdeqop.d.ts","../../../../node_modules/.pnpm/vite-node@2.0.3_@types+node@20.11.5_terser@5.32.0/node_modules/vite-node/dist/index-ccsqccr7.d.ts","../../../../node_modules/.pnpm/vite-node@2.0.3_@types+node@20.11.5_terser@5.32.0/node_modules/vite-node/dist/index.d.ts","../../../../node_modules/.pnpm/@vitest+snapshot@2.0.3/node_modules/@vitest/snapshot/dist/environment-ddx0edty.d.ts","../../../../node_modules/.pnpm/@vitest+snapshot@2.0.3/node_modules/@vitest/snapshot/dist/index-y6kquicb.d.ts","../../../../node_modules/.pnpm/@vitest+snapshot@2.0.3/node_modules/@vitest/snapshot/dist/index.d.ts","../../../../node_modules/.pnpm/@vitest+expect@2.0.3/node_modules/@vitest/expect/dist/chai.d.cts","../../../../node_modules/.pnpm/@vitest+expect@2.0.3/node_modules/@vitest/expect/dist/index.d.ts","../../../../node_modules/.pnpm/@vitest+expect@2.0.3/node_modules/@vitest/expect/index.d.ts","../../../../node_modules/.pnpm/tinybench@2.9.0/node_modules/tinybench/dist/index.d.ts","../../../../node_modules/.pnpm/vite-node@2.0.3_@types+node@20.11.5_terser@5.32.0/node_modules/vite-node/dist/client.d.ts","../../../../node_modules/.pnpm/@vitest+snapshot@2.0.3/node_modules/@vitest/snapshot/dist/manager.d.ts","../../../../node_modules/.pnpm/vite-node@2.0.3_@types+node@20.11.5_terser@5.32.0/node_modules/vite-node/dist/server.d.ts","../../../../node_modules/.pnpm/@vitest+utils@2.0.3/node_modules/@vitest/utils/dist/source-map.d.ts","../../../../node_modules/.pnpm/vitest@2.0.3_@types+node@20.11.5_jsdom@24.1.0_bufferutil@4.0.8_utf-8-validate@5.0.10__terser@5.32.0/node_modules/vitest/dist/reporters-becoy4-b.d.ts","../../../../node_modules/.pnpm/vitest@2.0.3_@types+node@20.11.5_jsdom@24.1.0_bufferutil@4.0.8_utf-8-validate@5.0.10__terser@5.32.0/node_modules/vitest/dist/suite-bwgaisvn.d.ts","../../../../node_modules/.pnpm/@vitest+spy@2.0.3/node_modules/@vitest/spy/dist/index.d.ts","../../../../node_modules/.pnpm/vitest@2.0.3_@types+node@20.11.5_jsdom@24.1.0_bufferutil@4.0.8_utf-8-validate@5.0.10__terser@5.32.0/node_modules/vitest/dist/index.d.ts","../../tests/dateutil.test.ts","../../tests/numberutil.test.ts","../../tests/safelocalstorage.test.ts"],"fileInfos":[{"version":"f33e5332b24c3773e930e212cbb8b6867c8ba3ec4492064ea78e55a524d57450","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","26f2f787e82c4222710f3b676b4d83eb5ad0a72fa7b746f03449e7a026ce5073","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","bed7b7ba0eb5a160b69af72814b4dde371968e40b6c5e73d3a9f7bee407d158c",{"version":"21e41a76098aa7a191028256e52a726baafd45a925ea5cf0222eb430c96c1d83","affectsGlobalScope":true},{"version":"35299ae4a62086698444a5aaee27fc7aa377c68cbb90b441c9ace246ffd05c97","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"e0275cd0e42990dc3a16f0b7c8bca3efe87f1c8ad404f80c6db1c7c0b828c59f","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"acae90d417bee324b1372813b5a00829d31c7eb670d299cd7f8f9a648ac05688","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"62a4966981264d1f04c44eb0f4b5bdc3d81c1a54725608861e44755aa24ad6a5","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"86a34c7a13de9cabc43161348f663624b56871ed80986e41d214932ddd8d6719","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"4350e5922fecd4bedda2964d69c213a1436349d0b8d260dd902795f5b94dc74b","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"73a0ee6395819b063df4b148211985f2e1442945c1a057204cf4cf6281760dc3","affectsGlobalScope":true},"d05d8c67116dceafc62e691c47ac89f8f10cf7313cd1b2fb4fe801c2bf1bb1a7","ccff6a039925da0bbddce77e8fe06865bb4bc144f8ca2f729b4390015044183b","f684f2969931de8fb9a5164f8c8f51aaea4025f4eede98406a17642a605c2842","622ae255870bc51ae3ae6a08f319379087a13ff6cc8c24c33cd0ec12bee2448d",{"version":"b248491c314fd926c5a10d97a64a453c25225b6edaf419c1e5f91a32d140177e","signature":"4436e81f7a9fc95889ffd74a32a261ec59ea894e42c7b359eec9c986e77cca9e"},{"version":"d210053567dbc031bafb4ea01ff1802058514cf2df83a9799a7ae5d67af3de84","signature":"6fcb9ccf3aeb21e21d2ee4237cc7e133a68734db7243f6cdf71c77d9278db2a6"},{"version":"70a30b8c92d2dc571203496596839e18314dd2082e917afd59d6a53a774463ef","signature":"94b11a5e67705168e88d74cad26894a444b94f7bd065b78f24bfe8f49acf15c6"},"e9b48596baefe465d46567a4beccd564035024a154d99f54c7fed02380707333",{"version":"54f9a595d7e188e8c36517ff45ada6b8875594477b3cd318f232b5a5164d5832","signature":"ac37f9702fdd569ae81d6ca7ece3fdf7e76a026ad88532da8409bcf045191144"},{"version":"2ed5fd3bd348cd14ca3c4d73eaddf51c7f8055db88395c153a0a34804cff28d4","signature":"e2d545396321404242a6a9898552a37363d8251cd36028ee1c85c449a74dacb7"},{"version":"1e1b8de27f375c95eea803d735fce2d2eeb08ba9c7465097494a48ff0b252eed","signature":"d09334251df076adb50b2df1d8d4ef964538e2e4e5565c80ccf640d1526a07fc"},{"version":"bf129ebf25e10d18df593c3a4ef44cdcd5761af4d71f841e1ae25254dcdf5a33","signature":"0fbf8e1c77e92a6e0e3798786dce86d5e669274d08508c8d602ce91773c0cf23"},{"version":"8d165b2acc719a7049cfe0398d952b14cddfb085fc2668077df5c858695bbfaf","signature":"a3af3c21194359006b1d9e45c960a8b9e5e72febb5f382b6b9660ff3d0ec0e3d"},{"version":"d11c99166558a012bd39556f3e6f6130af08c0254e9250a938101112c3c8ab60","signature":"870f58a3ee51c8fbf091b420afc1732510ce3faa97598ef8793ca9145c33de5d"},{"version":"2ceca0f0670c50957ae4dd2b51197ca2ea5d9ad0a6651f650b11275af9b039c9","signature":"5d79b777c82072fdd19b89eeccdab716bac0394786df7981c350247ae5f734b4"},{"version":"f6a7431d4a0c9fceee3e687c91d4e44c8ad6e720cd580a01e535867b601ff448","signature":"58fb1ad7a0119e01b2ccdb695e0e73629f826f9aff8828026566bcffe05e371f"},{"version":"7db82c37952a983b1212efe4a218bf7e5d3dd8e0b58e06387e34ec308785d39e","signature":"c8478a8291617cdad132b251c1f23007e6238439149e27d93f248906cae8fa7d"},"3deed5e2a5f1e7590d44e65a5b61900158a3c38bac9048462d38b1bc8098bb2e","0706911a0021f1bf44676d1b9f3f345cd447174b0a7faa04799332271b07b267","dbe70f552680507b07fdab6081007ebc727984b488b04151bf17eb30e2b985df","f147b6710441cf3ec3234adf63b0593ce5e8c9b692959d21d3babc8454bcf743","e96d5373a66c2cfbbc7e6642cf274055aa2c7ff6bd37be7480c66faf9804db6d","7a8168aacf074ead8388f5e9fe693e43ffe4ac9891d192565bed874cd432adbc","b485850856de3ad0ddaea95774df2d5c87bd43f80733de57e9c43982887bba2c","7c553fc9e34773ddbaabe0fa1367d4b109101d0868a008f11042bee24b5a925d","4be1cd28411c63bd321641c74f1e89067c3ff6e2f2b5cf292f867a456443c773","ae65d3a83ff8014cee403b2dbe1df4643c0d6da8ac85ffd2c7f1bc5b58bd285e","d0fde136cc94f39b6d5212812b8179e6a3e15a75b3ac072a48f69a28d6627ad0","63fcc9deedb1f028fd7a043368597369b338e9e144391b2ed0de9fc128205287","c0028475a99fcea9f6c8bcf3310d22b59b15b122ab266429da3a5574266c7a58","efc7d584a33fe3422847783d228f315c4cd1afe74bd7cf8e3f0e4c1125129fef","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"e2eb1ce13a9c0fa7ab62c63909d81973ef4b707292667c64f1e25e6e53fa7afa","affectsGlobalScope":true},"16d74fe4d8e183344d3beb15d48b123c5980ff32ff0cc8c3b96614ddcdf9b239","7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba",{"version":"41fb2a1c108fbf46609ce5a451b7ec78eb9b5ada95fd5b94643e4b26397de0b3","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","1b282e90846fada1e96dc1cf5111647d6ab5985c8d7b5c542642f1ea2739406d","bd3f5d05b6b5e4bfcea7739a45f3ffb4a7f4a3442ba7baf93e0200799285b8f1","4c775c2fccabf49483c03cd5e3673f87c1ffb6079d98e7b81089c3def79e29c6","8806ae97308ef26363bd7ec8071bca4d07fb575f905ee3d8a91aff226df6d618","af5bf1db6f1804fb0069039ae77a05d60133c77a2158d9635ea27b6bb2828a8f","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"7ae9dc7dbb58cd843065639707815df85c044babaa0947116f97bdb824d07204","affectsGlobalScope":true},"7aae1df2053572c2cfc2089a77847aadbb38eedbaa837a846c6a49fb37c6e5bd","313a0b063f5188037db113509de1b934a0e286f14e9479af24fada241435e707","f1ace2d2f98429e007d017c7a445efad2aaebf8233135abdb2c88b8c0fef91ab","87ef1a23caa071b07157c72077fa42b86d30568f9dc9e31eed24d5d14fc30ba8","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","21773f5ac69ddf5a05636ba1f50b5239f4f2d27e4420db147fc2f76a5ae598ac",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"a5fe4cc622c3bf8e09ababde5f4096ceac53163eefcd95e9cd53f062ff9bb67a","45b1053e691c5af9bfe85060a3e1542835f8d84a7e6e2e77ca305251eda0cb3c","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"ae5507fc333d637dec9f37c6b3f4d423105421ea2820a64818de55db85214d66","affectsGlobalScope":true},{"version":"0666f4c99b8688c7be5956df8fecf5d1779d3b22f8f2a88258ae7072c7b6026f","affectsGlobalScope":true},"8abd0566d2854c4bd1c5e48e05df5c74927187f1541e6770001d9637ac41542e","54e854615c4eafbdd3fd7688bd02a3aafd0ccf0e87c98f79d3e9109f047ce6b8","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","8221b00f271cf7f535a8eeec03b0f80f0929c7a16116e2d2df089b41066de69b","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","7424817d5eb498771e6d1808d726ec38f75d2eaf3fa359edd5c0c540c52725c1","831c22d257717bf2cbb03afe9c4bcffc5ccb8a2074344d4238bf16d3a857bb12",{"version":"bddce945d552a963c9733db106b17a25474eefcab7fc990157a2134ef55d4954","affectsGlobalScope":true},{"version":"7052b7b0c3829df3b4985bab2fd74531074b4835d5a7b263b75c82f0916ad62f","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","eefcdf86cefff36e5d87de36a3638ab5f7d16c2b68932be4a72c14bb924e43c1","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"4d0405568cf6e0ff36a4861c4a77e641366feaefa751600b0a4d12a5e8f730a8","affectsGlobalScope":true},{"version":"f5b5dc128973498b75f52b1b8c2d5f8629869104899733ae485100c2309b4c12","affectsGlobalScope":true},"e393915d3dc385e69c0e2390739c87b2d296a610662eb0b1cb85224e55992250","79bad8541d5779c85e82a9fb119c1fe06af77a71cc40f869d62ad379473d4b75","8013f6c4d1632da8f1c4d3d702ae559acccd0f1be05360c31755f272587199c9",{"version":"629d20681ca284d9e38c0a019f647108f5fe02f9c59ac164d56f5694fc3faf4d","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447","ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea",{"version":"297357003eaebc557bc00920d14a1296f5191e0ba44e768499b33f59a738e615","affectsGlobalScope":true},"a660aa95476042d3fdcc1343cf6bb8fdf24772d31712b1db321c5a4dcc325434","282f98006ed7fa9bb2cd9bdbe2524595cfc4bcd58a0bb3232e4519f2138df811","80d02a787d4aa00e2e22dcf3ea9d40390f38dfb0c3497bc6855978974a63e20c","cbe726263ae9a7bf32352380f7e8ab66ee25b3457137e316929269c19e18a2be","8b96046bf5fb0a815cba6b0880d9f97b7f3a93cf187e8dcfe8e2792e97f38f87",{"version":"55bbfa2fcb7692e366773b23a0338463fc9254301414f861a3ae46ff000b5783","affectsGlobalScope":true},"402e5c534fb2b85fa771170595db3ac0dd532112c8fa44fc23f233bc6967488b","8885cf05f3e2abf117590bbb951dcf6359e3e5ac462af1c901cfd24c6a6472e2","4d979e3c12ffb6497d2b1dc5613130196d986fff764c4526360c0716a162e7e7","e61df3640a38d535fd4bc9f4a53aef17c296b58dc4b6394fd576b808dd2fe5e6","80781460eca408fe8d2937d9fdbbb780d6aac35f549621e6200c9bee1da5b8fe","4719c209b9c00b579553859407a7e5dcfaa1c472994bd62aa5dd3cc0757eb077","7ec359bbc29b69d4063fe7dad0baaf35f1856f914db16b3f4f6e3e1bca4099fa","b9261ac3e9944d3d72c5ee4cf888ad35d9743a5563405c6963c4e43ee3708ca4","c84fd54e8400def0d1ef1569cafd02e9f39a622df9fa69b57ccc82128856b916","a022503e75d6953d0e82c2c564508a5c7f8556fad5d7f971372d2d40479e4034","2ed6489ef46eb61442d067c08e87e3db501c0bfb2837eee4041a27bf3e792bb0","644491cde678bd462bb922c1d0cfab8f17d626b195ccb7f008612dc31f445d2d","d60fe6d59d4e19ecc65359490b8535e359ca4b760d2cdb56897ca75d09d41ba3","f45a2a8b1777ecb50ed65e1a04bb899d4b676529b7921bd5d69b08573a00c832","774b783046ba3d473948132d28a69f52a295b2f378f2939304118ba571b1355e","b5734e05c787a40e4f9efe71f16683c5f7dc3bdb0de7c04440c855bd000f8fa7","14ba97f0907144771331e1349fdccb5a13526eba0647e6b447e572376d811b6f","2a771d907aebf9391ac1f50e4ad37952943515eeea0dcc7e78aa08f508294668","7165050eddaed878c2d2cd3cafcaf171072ac39e586a048c0603712b5555f536","26e629be9bbd94ea1d465af83ce5a3306890520695f07be6eb016f8d734d02be","82e687ebd99518bc63ea04b0c3810fb6e50aa6942decd0ca6f7a56d9b9a212a6","7f698624bbbb060ece7c0e51b7236520ebada74b747d7523c7df376453ed6fea","8f07f2b6514744ac96e51d7cb8518c0f4de319471237ea10cf688b8d0e9d0225","0862ed8f8046558a707fde2b4b687dcbafad0329141d5988daec97c2f4ed07ee","d2e64a6f25013b099e83bfadb2c388d7bef3e8f3fdb25528225bbc841e7e7e3a","e6233e1c976265e85aa8ad76c3881febe6264cb06ae3136f0257e1eab4a6cc5a","3a07ebaeb3b96c1e7a5fc0588364a8e58c74efd63b62f64b34c33b01907dc320","b1e92c7f8608744a7e40c636f7096e98d0dafe2c36aa6ba31b5f5a6c22794e37","e01ea380015ed698c3c0e2ccd0db72f3fc3ef1abc4519f122aa1c1a8d419a505","9e2534be8a9338e750d24acc6076680d49b1643ae993c74510776a92af0c1604","09033524cc0d7429e7bbbcd04bb37614bfc4a5a060c742c6c2b2980794a98090",{"version":"48c411efce1848d1ed55de41d7deb93cbf7c04080912fd87aa517ed25ef42639","affectsGlobalScope":true},{"version":"6878ac3ad9acf77ba96e00c44ca2fc5c7368348f40a4561f2f3dd45fa002eaf8","affectsGlobalScope":true},"fe2d63fcfdde197391b6b70daf7be8c02a60afa90754a5f4a04bdc367f62793d","69bf2422313487956e4dacf049f30cb91b34968912058d244cb19e4baa24da97","7f8ea3140f0c2d102ff2d92ce2ce7fb33d1d209a851032332658a0dd081b0b8e","a0e40a10412a69609cbd9b157169c3011b080e66ef46a6370cd1d069a53eb52b","9a690435fa5e89ac3a0105d793c1ae21e1751ac2a912847de925107aabb9c9c0","452bbc9610e02aa6f33e7b35808d59087dfbc3e803e689525fb6c06efb77d085",{"version":"7d97a876c40053f9cdac72d96570cb14fd933addf83daaa9f281d9a16860ddc8","affectsGlobalScope":true},"3d7b8da04231efbc1b8aa0bfdaa1f481f76be848d252afa65b1e02ec3f67df1a","48db615d3a4412d1882a985100813583ab46b6ecbe6ad3c8c9a5994f8aeff691","1f722a64890d0985e5ff8a758d8d1abf4e0b5d9fbf0fe744d98e19cc52b9eb69",{"version":"c64e755c86039a7ff080787e20336a8bcafd00ef3c2f16a4036886c2fce8c3a4","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"36c6ae508b7c1192dd7297c4e381daaffd001799b30f8f9c4998bb9802083902","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"278e4ebec6759a1cbc989386f8af73b582ca121cf7193f78ec6de253cf1102a0","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"}],"root":[[71,73],[75,83],[235,237]],"options":{"allowJs":false,"allowSyntheticDefaultImports":true,"allowUnreachableCode":false,"composite":true,"declarationDir":"../types","esModuleInterop":true,"experimentalDecorators":true,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noPropertyAccessFromIndexSignature":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","removeComments":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"target":8},"fileIdsList":[[97],[133],[134,139,167],[135,146,147,154,164,175],[135,136,146,154],[137,176],[138,139,147,155],[139,164,172],[140,142,146,154],[133,141],[142,143],[146],[144,146],[133,146],[146,147,148,164,175],[146,147,148,161,164,167],[131,134,180],[142,146,149,154,164,175],[146,147,149,150,154,164,172,175],[149,151,164,172,175],[97,98,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182],[146,152],[153,175,180],[142,146,154,164],[155],[156],[133,157],[158,174,180],[159],[160],[146,161,162],[161,163,176,178],[134,146,164,165,166,167],[134,164,166],[164,165],[167],[168],[133,164],[146,170,171],[170,171],[139,154,164,172],[173],[154,174],[134,149,160,175],[139,176],[164,177],[153,178],[179],[134,139,146,148,157,164,175,178,180],[164,181],[88,89,92],[224],[89,90,92,93,94],[89],[89,90,92],[89,90],[86,220],[86,220,221],[86,91],[84],[84,85,86,88],[86],[67],[66],[68,70],[68,69],[207],[205,207],[196,204,205,206,208],[194],[197,202,207,210],[193,210],[197,198,201,202,203,210],[197,198,199,201,202,210],[194,195,196,197,198,202,203,204,206,207,208,210],[210],[192,194,195,196,197,198,199,201,202,203,204,205,206,207,208,209],[192,210],[197,199,200,202,203,210],[201,210],[202,203,207,210],[195,205],[185,214],[184,185],[87],[108,112,175],[108,164,175],[103],[105,108,172,175],[154,172],[183],[103,183],[105,108,154,175],[100,101,104,107,134,146,164,175],[100,106],[104,108,134,167,175,183],[134,183],[124,134,183],[102,103,183],[108],[102,103,104,105,106,107,108,109,110,112,113,114,115,116,117,118,119,120,121,122,123,125,126,127,128,129,130],[108,115,116],[106,108,116,117],[107],[100,103,108],[108,112,116,117],[112],[106,108,111,175],[100,105,106,108,112,115],[134,164],[103,108,124,134,180,183],[217,218],[217],[215,217,218,231],[146,147,149,150,151,154,164,172,175,181,183,185,186,187,188,189,190,191,211,212,213,214],[187,188,189,190],[187,188,189],[187],[188],[185],[89,92,95,96,147,164,180,215,216,219,222,223,225,226,227,228,229,230,231,232,233],[89,95,96,147,164,180,215,216,219,222,223,225,226,227,228,229,230,231],[95,96,226,231],[71,72,73,75,76,77,78,79,80,81,82],[72],[67,68,69,70],[74],[71,234],[75,234],[81,234]],"referencedMap":[[97,1],[98,1],[133,2],[134,3],[135,4],[136,5],[137,6],[138,7],[139,8],[140,9],[141,10],[142,11],[143,11],[145,12],[144,13],[146,14],[147,15],[148,16],[132,17],[149,18],[150,19],[151,20],[183,21],[152,22],[153,23],[154,24],[155,25],[156,26],[157,27],[158,28],[159,29],[160,30],[161,31],[162,31],[163,32],[164,33],[166,34],[165,35],[167,36],[168,37],[169,38],[170,39],[171,40],[172,41],[173,42],[174,43],[175,44],[176,45],[177,46],[178,47],[179,48],[180,49],[181,50],[224,51],[225,52],[95,53],[90,54],[93,55],[96,56],[221,57],[222,58],[228,58],[92,59],[94,59],[85,60],[89,61],[230,60],[91,62],[68,63],[67,64],[69,65],[70,66],[208,67],[206,68],[207,69],[195,70],[196,68],[203,71],[194,72],[199,73],[200,74],[205,75],[211,76],[210,77],[193,78],[201,79],[202,80],[197,81],[204,67],[198,82],[186,83],[185,84],[88,85],[115,86],[122,87],[114,86],[129,88],[106,89],[105,90],[128,91],[123,92],[126,93],[108,94],[107,95],[103,96],[102,97],[125,98],[104,99],[109,100],[113,100],[131,101],[130,100],[117,102],[118,103],[120,104],[116,105],[119,106],[124,91],[111,107],[112,108],[121,109],[101,110],[127,111],[227,112],[218,113],[219,112],[229,114],[215,115],[212,116],[190,117],[188,118],[189,119],[214,120],[234,121],[231,122],[232,123],[83,124],[79,125],[71,126],[73,125],[75,127],[80,125],[235,128],[236,129],[237,130]],"exportedModulesMap":[[97,1],[98,1],[133,2],[134,3],[135,4],[136,5],[137,6],[138,7],[139,8],[140,9],[141,10],[142,11],[143,11],[145,12],[144,13],[146,14],[147,15],[148,16],[132,17],[149,18],[150,19],[151,20],[183,21],[152,22],[153,23],[154,24],[155,25],[156,26],[157,27],[158,28],[159,29],[160,30],[161,31],[162,31],[163,32],[164,33],[166,34],[165,35],[167,36],[168,37],[169,38],[170,39],[171,40],[172,41],[173,42],[174,43],[175,44],[176,45],[177,46],[178,47],[179,48],[180,49],[181,50],[224,51],[225,52],[95,53],[90,54],[93,55],[96,56],[221,57],[222,58],[228,58],[92,59],[94,59],[85,60],[89,61],[230,60],[91,62],[68,63],[67,64],[69,65],[70,66],[208,67],[206,68],[207,69],[195,70],[196,68],[203,71],[194,72],[199,73],[200,74],[205,75],[211,76],[210,77],[193,78],[201,79],[202,80],[197,81],[204,67],[198,82],[186,83],[185,84],[88,85],[115,86],[122,87],[114,86],[129,88],[106,89],[105,90],[128,91],[123,92],[126,93],[108,94],[107,95],[103,96],[102,97],[125,98],[104,99],[109,100],[113,100],[131,101],[130,100],[117,102],[118,103],[120,104],[116,105],[119,106],[124,91],[111,107],[112,108],[121,109],[101,110],[127,111],[227,112],[218,113],[219,112],[229,114],[215,115],[212,116],[190,117],[188,118],[189,119],[214,120],[234,121],[231,122],[232,123],[83,124],[73,125],[75,127],[80,125]],"semanticDiagnosticsPerFile":[184,97,98,133,134,135,136,137,138,139,140,141,142,143,145,144,146,147,148,132,182,149,150,151,183,152,153,154,155,156,157,158,159,160,161,162,163,164,166,165,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,223,224,225,86,216,95,90,93,96,220,221,222,228,233,92,94,85,89,230,91,84,74,99,68,67,66,69,70,191,208,206,207,195,196,203,194,199,209,200,205,211,210,193,201,202,197,204,198,186,185,192,226,87,88,64,65,12,13,15,14,2,16,17,18,19,20,21,22,23,3,4,24,28,25,26,27,29,30,31,5,32,33,34,35,6,39,36,37,38,40,7,41,46,47,42,43,44,45,8,51,48,49,50,52,9,53,54,55,58,56,57,59,60,10,1,11,63,62,61,115,122,114,129,106,105,128,123,126,108,107,103,102,125,104,109,110,113,100,131,130,117,118,120,116,119,124,111,112,121,101,127,227,218,219,229,217,215,212,190,188,187,189,213,214,234,231,232,83,77,79,71,76,78,73,75,80,81,82,72,235,236,237],"latestChangedDtsFile":"../types/tests/SafeLocalStorage.test.d.ts"},"version":"5.3.3"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { DateUtil } from './src/utils/DateUtil.js';
|
|
2
|
+
export { NetworkUtil } from './src/utils/NetworkUtil.js';
|
|
3
|
+
export { NumberUtil } from './src/utils/NumberUtil.js';
|
|
4
|
+
export { InputUtil } from './src/utils/InputUtil.js';
|
|
5
|
+
export { erc20ABI } from './src/contracts/erc20.js';
|
|
6
|
+
export { NavigationUtil } from './src/utils/NavigationUtil.js';
|
|
7
|
+
export { ConstantsUtil } from './src/utils/ConstantsUtil.js';
|
|
8
|
+
export { ParseUtil } from './src/utils/ParseUtil.js';
|
|
9
|
+
export { SafeLocalStorage, SafeLocalStorageKeys } from './src/utils/SafeLocalStorage.js';
|
|
10
|
+
export { getW3mThemeVariables } from './src/utils/ThemeUtil.js';
|
|
11
|
+
export type * from './src/utils/ThemeUtil.js';
|
|
12
|
+
export type * from './src/utils/SafeLocalStorage.js';
|
|
13
|
+
export type * from './src/utils/TypeUtil.js';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const erc20ABI: ({
|
|
2
|
+
constant: boolean;
|
|
3
|
+
inputs: {
|
|
4
|
+
name: string;
|
|
5
|
+
type: string;
|
|
6
|
+
}[];
|
|
7
|
+
name: string;
|
|
8
|
+
outputs: {
|
|
9
|
+
name: string;
|
|
10
|
+
type: string;
|
|
11
|
+
}[];
|
|
12
|
+
payable: boolean;
|
|
13
|
+
stateMutability: string;
|
|
14
|
+
type: string;
|
|
15
|
+
anonymous?: undefined;
|
|
16
|
+
} | {
|
|
17
|
+
payable: boolean;
|
|
18
|
+
stateMutability: string;
|
|
19
|
+
type: string;
|
|
20
|
+
constant?: undefined;
|
|
21
|
+
inputs?: undefined;
|
|
22
|
+
name?: undefined;
|
|
23
|
+
outputs?: undefined;
|
|
24
|
+
anonymous?: undefined;
|
|
25
|
+
} | {
|
|
26
|
+
anonymous: boolean;
|
|
27
|
+
inputs: {
|
|
28
|
+
indexed: boolean;
|
|
29
|
+
name: string;
|
|
30
|
+
type: string;
|
|
31
|
+
}[];
|
|
32
|
+
name: string;
|
|
33
|
+
type: string;
|
|
34
|
+
constant?: undefined;
|
|
35
|
+
outputs?: undefined;
|
|
36
|
+
payable?: undefined;
|
|
37
|
+
stateMutability?: undefined;
|
|
38
|
+
})[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const ConstantsUtil: {
|
|
2
|
+
readonly WC_NAME_SUFFIX: ".wcn.id";
|
|
3
|
+
readonly BLOCKCHAIN_API_RPC_URL: "https://rpc.walletconnect.org";
|
|
4
|
+
readonly PULSE_API_URL: "https://pulse.walletconnect.org";
|
|
5
|
+
readonly W3M_API_URL: "https://api.web3modal.org";
|
|
6
|
+
readonly CHAIN: {
|
|
7
|
+
readonly EVM: "eip155";
|
|
8
|
+
readonly SOLANA: "solana";
|
|
9
|
+
readonly POLKADOT: "polkadot";
|
|
10
|
+
};
|
|
11
|
+
readonly CHAIN_NAME_MAP: {
|
|
12
|
+
readonly eip155: "Ethereum";
|
|
13
|
+
readonly solana: "Solana";
|
|
14
|
+
readonly polkadot: "Polkadot";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as BigNumber from 'bignumber.js';
|
|
2
|
+
export declare const NumberUtil: {
|
|
3
|
+
bigNumber(value: BigNumber.BigNumber.Value): BigNumber.BigNumber;
|
|
4
|
+
multiply(a: BigNumber.BigNumber.Value | undefined, b: BigNumber.BigNumber.Value | undefined): BigNumber.BigNumber;
|
|
5
|
+
formatNumberToLocalString(value: string | number | undefined, decimals?: number): string;
|
|
6
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { CaipAddress, CaipNetworkId, ChainId, ChainNamespace } from './TypeUtil.js';
|
|
2
|
+
type ParsedCaipAddress = {
|
|
3
|
+
chainNamespace: ChainNamespace;
|
|
4
|
+
chainId: ChainId;
|
|
5
|
+
address: string;
|
|
6
|
+
};
|
|
7
|
+
type ParsedCaipNetworkId = {
|
|
8
|
+
chainNamespace: ChainNamespace;
|
|
9
|
+
chainId: ChainId;
|
|
10
|
+
};
|
|
11
|
+
export declare const ParseUtil: {
|
|
12
|
+
parseCaipAddress(caipAddress: CaipAddress): ParsedCaipAddress;
|
|
13
|
+
parseCaipNetworkId(caipNetworkId: CaipNetworkId): ParsedCaipNetworkId;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type SafeLocalStorageItems = {
|
|
2
|
+
'@w3m/wallet_id': string;
|
|
3
|
+
'@w3m/wallet_name': string;
|
|
4
|
+
'@w3m/solana_wallet': string;
|
|
5
|
+
'@w3m/solana_caip_chain': string;
|
|
6
|
+
'@w3m/active_caip_network': string;
|
|
7
|
+
};
|
|
8
|
+
export declare const SafeLocalStorageKeys: {
|
|
9
|
+
readonly WALLET_ID: "@w3m/wallet_id";
|
|
10
|
+
readonly WALLET_NAME: "@w3m/wallet_name";
|
|
11
|
+
readonly SOLANA_WALLET: "@w3m/solana_wallet";
|
|
12
|
+
readonly SOLANA_CAIP_CHAIN: "@w3m/solana_caip_chain";
|
|
13
|
+
readonly ACTIVE_CAIP_NETWORK: "@w3m/active_caip_network";
|
|
14
|
+
};
|
|
15
|
+
export declare const SafeLocalStorage: {
|
|
16
|
+
setItem<Key extends keyof SafeLocalStorageItems>(key: Key, value: SafeLocalStorageItems[Key]): void;
|
|
17
|
+
getItem<Key_1 extends keyof SafeLocalStorageItems>(key: Key_1): SafeLocalStorageItems[Key_1] | null;
|
|
18
|
+
removeItem<Key_2 extends keyof SafeLocalStorageItems>(key: Key_2): void;
|
|
19
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type ThemeType = 'dark' | 'light';
|
|
2
|
+
export interface ThemeVariables {
|
|
3
|
+
'--w3m-font-family'?: string;
|
|
4
|
+
'--w3m-accent'?: string;
|
|
5
|
+
'--w3m-color-mix'?: string;
|
|
6
|
+
'--w3m-color-mix-strength'?: number;
|
|
7
|
+
'--w3m-font-size-master'?: string;
|
|
8
|
+
'--w3m-border-radius-master'?: string;
|
|
9
|
+
'--w3m-z-index'?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface W3mThemeVariables {
|
|
12
|
+
'--w3m-accent': string;
|
|
13
|
+
'--w3m-background': string;
|
|
14
|
+
}
|
|
15
|
+
export declare function getW3mThemeVariables(themeVariables?: ThemeVariables, themeType?: ThemeType): {
|
|
16
|
+
'--w3m-accent': string;
|
|
17
|
+
'--w3m-background': string;
|
|
18
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
export type CaipNetworkId = `${ChainNamespace}:${ChainId}`;
|
|
2
|
+
export type CaipAddress = `${ChainNamespace}:${ChainId}:${string}`;
|
|
3
|
+
export type ChainId = string | number;
|
|
4
|
+
export type ChainNamespace = 'eip155' | 'solana' | 'polkadot';
|
|
5
|
+
export type CaipNetwork = {
|
|
6
|
+
id: CaipNetworkId;
|
|
7
|
+
chainId: ChainId;
|
|
8
|
+
chainNamespace: ChainNamespace;
|
|
9
|
+
name: string;
|
|
10
|
+
currency: string;
|
|
11
|
+
explorerUrl: string;
|
|
12
|
+
rpcUrl: string;
|
|
13
|
+
imageUrl?: string;
|
|
14
|
+
imageId?: string;
|
|
15
|
+
};
|
|
16
|
+
export type AdapterType = 'solana' | 'wagmi' | 'ethers' | 'ethers5' | 'universal' | 'polkadot';
|
|
17
|
+
export type CoinbaseTransactionStatus = 'ONRAMP_TRANSACTION_STATUS_SUCCESS' | 'ONRAMP_TRANSACTION_STATUS_IN_PROGRESS' | 'ONRAMP_TRANSACTION_STATUS_FAILED';
|
|
18
|
+
export type TransactionStatus = 'confirmed' | 'failed' | 'pending';
|
|
19
|
+
export type TransactionDirection = 'in' | 'out' | 'self';
|
|
20
|
+
export type TransactionImage = {
|
|
21
|
+
type: 'FUNGIBLE' | 'NFT' | undefined;
|
|
22
|
+
url: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
export interface Transaction {
|
|
25
|
+
id: string;
|
|
26
|
+
metadata: TransactionMetadata;
|
|
27
|
+
transfers: TransactionTransfer[];
|
|
28
|
+
}
|
|
29
|
+
export interface TransactionMetadata {
|
|
30
|
+
operationType: string;
|
|
31
|
+
hash: string;
|
|
32
|
+
chain: `${string}:${string}`;
|
|
33
|
+
minedAt: string;
|
|
34
|
+
sentFrom: string;
|
|
35
|
+
sentTo: string;
|
|
36
|
+
status: TransactionStatus | CoinbaseTransactionStatus;
|
|
37
|
+
nonce: number;
|
|
38
|
+
}
|
|
39
|
+
export interface TransactionTransfer {
|
|
40
|
+
fungible_info?: {
|
|
41
|
+
name?: string;
|
|
42
|
+
symbol?: string;
|
|
43
|
+
icon?: {
|
|
44
|
+
url: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
nft_info?: TransactionNftInfo;
|
|
48
|
+
direction: TransactionDirection;
|
|
49
|
+
quantity: TransactionQuantity;
|
|
50
|
+
value?: number;
|
|
51
|
+
price?: number;
|
|
52
|
+
}
|
|
53
|
+
export interface TransactionNftInfo {
|
|
54
|
+
name?: string;
|
|
55
|
+
content?: TransactionContent;
|
|
56
|
+
flags: TransactionNftInfoFlags;
|
|
57
|
+
}
|
|
58
|
+
export interface TransactionNftInfoFlags {
|
|
59
|
+
is_spam: boolean;
|
|
60
|
+
}
|
|
61
|
+
export interface TransactionContent {
|
|
62
|
+
preview?: TransactionPreview;
|
|
63
|
+
detail?: TransactionDetail;
|
|
64
|
+
}
|
|
65
|
+
export interface TransactionPreview {
|
|
66
|
+
url: string;
|
|
67
|
+
content_type?: null;
|
|
68
|
+
}
|
|
69
|
+
export interface TransactionDetail {
|
|
70
|
+
url: string;
|
|
71
|
+
content_type?: null;
|
|
72
|
+
}
|
|
73
|
+
export interface TransactionQuantity {
|
|
74
|
+
numeric: string;
|
|
75
|
+
}
|
|
76
|
+
export interface Balance {
|
|
77
|
+
name: string;
|
|
78
|
+
symbol: string;
|
|
79
|
+
chainId: string;
|
|
80
|
+
address?: string;
|
|
81
|
+
value?: number;
|
|
82
|
+
price: number;
|
|
83
|
+
quantity: BalanceQuantity;
|
|
84
|
+
iconUrl: string;
|
|
85
|
+
}
|
|
86
|
+
type BalanceQuantity = {
|
|
87
|
+
decimals: string;
|
|
88
|
+
numeric: string;
|
|
89
|
+
};
|
|
90
|
+
export type SIWEStatus = 'uninitialized' | 'ready' | 'loading' | 'success' | 'rejected' | 'error';
|
|
91
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@reown/appkit-common",
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/esm/index.js",
|
|
6
|
+
"types": "./dist/types/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"!tsconfig.tsbuildinfo"
|
|
10
|
+
],
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"bignumber.js": "9.1.2",
|
|
13
|
+
"dayjs": "1.11.10"
|
|
14
|
+
},
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"vitest": "2.0.3",
|
|
17
|
+
"@vitest/coverage-v8": "2.0.5"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"utils",
|
|
21
|
+
"types",
|
|
22
|
+
"web3",
|
|
23
|
+
"web3modal"
|
|
24
|
+
],
|
|
25
|
+
"author": "reown <reown.com>",
|
|
26
|
+
"license": "Apache-2.0",
|
|
27
|
+
"homepage": "https://github.com/web3modal/web3modal",
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/WalletConnect/shadow-appkit.git"
|
|
31
|
+
},
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/web3modal/web3modal/issues"
|
|
34
|
+
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build:clean": "rm -rf dist",
|
|
37
|
+
"build": "tsc --build",
|
|
38
|
+
"watch": "tsc --watch",
|
|
39
|
+
"typecheck": "tsc --noEmit",
|
|
40
|
+
"test": "vitest run --dir tests --coverage.enabled=true --coverage.reporter=json --coverage.reporter=json-summary --coverage.reportOnFailure=true",
|
|
41
|
+
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
|
|
42
|
+
}
|
|
43
|
+
}
|