@orderly.network/core 0.2.6 → 0.2.7
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.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -127,11 +127,13 @@ declare function calculateStringHash(input: string): string;
|
|
|
127
127
|
declare function formatByUnits(amount: string, unit?: number | "ether" | "gwei"): string;
|
|
128
128
|
declare function isHex(value: string): boolean;
|
|
129
129
|
declare function isHexString(value: string): boolean;
|
|
130
|
+
declare const getGlobalObject: () => typeof globalThis;
|
|
130
131
|
|
|
131
132
|
type utils_SignatureDomain = SignatureDomain;
|
|
132
133
|
declare const utils_base64url: typeof base64url;
|
|
133
134
|
declare const utils_calculateStringHash: typeof calculateStringHash;
|
|
134
135
|
declare const utils_formatByUnits: typeof formatByUnits;
|
|
136
|
+
declare const utils_getGlobalObject: typeof getGlobalObject;
|
|
135
137
|
declare const utils_isHex: typeof isHex;
|
|
136
138
|
declare const utils_isHexString: typeof isHexString;
|
|
137
139
|
declare const utils_parseAccountId: typeof parseAccountId;
|
|
@@ -144,6 +146,7 @@ declare namespace utils {
|
|
|
144
146
|
utils_base64url as base64url,
|
|
145
147
|
utils_calculateStringHash as calculateStringHash,
|
|
146
148
|
utils_formatByUnits as formatByUnits,
|
|
149
|
+
utils_getGlobalObject as getGlobalObject,
|
|
147
150
|
utils_isHex as isHex,
|
|
148
151
|
utils_isHexString as isHexString,
|
|
149
152
|
utils_parseAccountId as parseAccountId,
|
package/dist/index.d.ts
CHANGED
|
@@ -127,11 +127,13 @@ declare function calculateStringHash(input: string): string;
|
|
|
127
127
|
declare function formatByUnits(amount: string, unit?: number | "ether" | "gwei"): string;
|
|
128
128
|
declare function isHex(value: string): boolean;
|
|
129
129
|
declare function isHexString(value: string): boolean;
|
|
130
|
+
declare const getGlobalObject: () => typeof globalThis;
|
|
130
131
|
|
|
131
132
|
type utils_SignatureDomain = SignatureDomain;
|
|
132
133
|
declare const utils_base64url: typeof base64url;
|
|
133
134
|
declare const utils_calculateStringHash: typeof calculateStringHash;
|
|
134
135
|
declare const utils_formatByUnits: typeof formatByUnits;
|
|
136
|
+
declare const utils_getGlobalObject: typeof getGlobalObject;
|
|
135
137
|
declare const utils_isHex: typeof isHex;
|
|
136
138
|
declare const utils_isHexString: typeof isHexString;
|
|
137
139
|
declare const utils_parseAccountId: typeof parseAccountId;
|
|
@@ -144,6 +146,7 @@ declare namespace utils {
|
|
|
144
146
|
utils_base64url as base64url,
|
|
145
147
|
utils_calculateStringHash as calculateStringHash,
|
|
146
148
|
utils_formatByUnits as formatByUnits,
|
|
149
|
+
utils_getGlobalObject as getGlobalObject,
|
|
147
150
|
utils_isHex as isHex,
|
|
148
151
|
utils_isHexString as isHexString,
|
|
149
152
|
utils_parseAccountId as parseAccountId,
|