@frequency-chain/ethereum-utils 1.17.0-rc4 → 1.17.0-rc6
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/address.d.ts +11 -1
- package/browser/frequency-ethereum-utils.esm.min.js +20243 -11
- package/browser/frequency-ethereum-utils.umd.min.js +11506 -3
- package/cjs/address.js +27 -0
- package/cjs/index.js +8 -8
- package/cjs/signature.definitions.js +44 -1
- package/cjs/signature.js +234 -64
- package/esm/address.js +25 -0
- package/esm/index.js +8 -8
- package/esm/signature.definitions.js +43 -0
- package/esm/signature.js +178 -15
- package/index.d.ts +31 -10
- package/package.json +7 -4
- package/payloads.d.ts +23 -1
- package/signature.d.ts +58 -5
- package/signature.definitions.d.ts +65 -1
- package/utils.d.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EipDomainPayload } from './payloads';
|
|
1
|
+
import { EipDomainPayload } from './payloads.js';
|
|
2
2
|
export declare const EIP712_DOMAIN_DEFINITION: {
|
|
3
3
|
EIP712Domain: {
|
|
4
4
|
name: string;
|
|
@@ -18,6 +18,12 @@ export declare const ADD_KEY_DATA_DEFINITION: {
|
|
|
18
18
|
type: string;
|
|
19
19
|
}[];
|
|
20
20
|
};
|
|
21
|
+
export declare const AUTHORIZED_KEY_DATA_DEFINITION: {
|
|
22
|
+
AuthorizedKeyData: {
|
|
23
|
+
name: string;
|
|
24
|
+
type: string;
|
|
25
|
+
}[];
|
|
26
|
+
};
|
|
21
27
|
export declare const CLAIM_HANDLE_PAYLOAD_DEFINITION: {
|
|
22
28
|
ClaimHandlePayload: {
|
|
23
29
|
name: string;
|
|
@@ -52,3 +58,61 @@ export declare const ITEMIZED_SIGNATURE_PAYLOAD_DEFINITION_V2: {
|
|
|
52
58
|
type: string;
|
|
53
59
|
}[];
|
|
54
60
|
};
|
|
61
|
+
export declare const SIWF_SIGNED_REQUEST_PAYLOAD_DEFINITION: {
|
|
62
|
+
SiwfSignedRequestPayload: {
|
|
63
|
+
name: string;
|
|
64
|
+
type: string;
|
|
65
|
+
}[];
|
|
66
|
+
};
|
|
67
|
+
declare const PAYLOAD_DEFINITIONS: ({
|
|
68
|
+
AddProvider: {
|
|
69
|
+
name: string;
|
|
70
|
+
type: string;
|
|
71
|
+
}[];
|
|
72
|
+
} | {
|
|
73
|
+
AddKeyData: {
|
|
74
|
+
name: string;
|
|
75
|
+
type: string;
|
|
76
|
+
}[];
|
|
77
|
+
} | {
|
|
78
|
+
AuthorizedKeyData: {
|
|
79
|
+
name: string;
|
|
80
|
+
type: string;
|
|
81
|
+
}[];
|
|
82
|
+
} | {
|
|
83
|
+
ClaimHandlePayload: {
|
|
84
|
+
name: string;
|
|
85
|
+
type: string;
|
|
86
|
+
}[];
|
|
87
|
+
} | {
|
|
88
|
+
PasskeyPublicKey: {
|
|
89
|
+
name: string;
|
|
90
|
+
type: string;
|
|
91
|
+
}[];
|
|
92
|
+
} | {
|
|
93
|
+
PaginatedDeleteSignaturePayloadV2: {
|
|
94
|
+
name: string;
|
|
95
|
+
type: string;
|
|
96
|
+
}[];
|
|
97
|
+
} | {
|
|
98
|
+
PaginatedUpsertSignaturePayloadV2: {
|
|
99
|
+
name: string;
|
|
100
|
+
type: string;
|
|
101
|
+
}[];
|
|
102
|
+
} | {
|
|
103
|
+
ItemizedSignaturePayloadV2: {
|
|
104
|
+
name: string;
|
|
105
|
+
type: string;
|
|
106
|
+
}[];
|
|
107
|
+
ItemAction: {
|
|
108
|
+
name: string;
|
|
109
|
+
type: string;
|
|
110
|
+
}[];
|
|
111
|
+
} | {
|
|
112
|
+
SiwfSignedRequestPayload: {
|
|
113
|
+
name: string;
|
|
114
|
+
type: string;
|
|
115
|
+
}[];
|
|
116
|
+
})[];
|
|
117
|
+
export type SupportedPayloadDefinitions = (typeof PAYLOAD_DEFINITIONS)[number];
|
|
118
|
+
export {};
|
package/utils.d.ts
CHANGED