@atbash/sdk 0.3.9-dev.1 → 0.3.9-dev.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.
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -104,7 +104,7 @@ var DEFAULT_CHROMIA_NODE_URLS = [
|
|
|
104
104
|
"https://node7.testnet.chromia.com:7740",
|
|
105
105
|
"https://node8.testnet.chromia.com:7740"
|
|
106
106
|
];
|
|
107
|
-
var DEFAULT_BLOCKCHAIN_RID = "
|
|
107
|
+
var DEFAULT_BLOCKCHAIN_RID = "F09A7219ACAE32C06D3962BB04D15F36C679C2BEB3FF24CDE5C8D577017EFFC6";
|
|
108
108
|
function isValidPrivateKey(hex) {
|
|
109
109
|
return /^[0-9a-fA-F]{64}$/.test(hex);
|
|
110
110
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -150,7 +150,7 @@ interface AtbashClientConfig {
|
|
|
150
150
|
|
|
151
151
|
declare const DEFAULT_ENDPOINT = "https://chromia-verified-ai-dev-two.vercel.app";
|
|
152
152
|
declare const DEFAULT_CHROMIA_NODE_URLS: string[];
|
|
153
|
-
declare const DEFAULT_BLOCKCHAIN_RID = "
|
|
153
|
+
declare const DEFAULT_BLOCKCHAIN_RID = "F09A7219ACAE32C06D3962BB04D15F36C679C2BEB3FF24CDE5C8D577017EFFC6";
|
|
154
154
|
declare function isValidPrivateKey(hex: string): boolean;
|
|
155
155
|
declare function derivePublicKey(privKeyHex: string): string;
|
|
156
156
|
declare function generateKeyPair(): {
|
package/dist/index.d.ts
CHANGED
|
@@ -150,7 +150,7 @@ interface AtbashClientConfig {
|
|
|
150
150
|
|
|
151
151
|
declare const DEFAULT_ENDPOINT = "https://chromia-verified-ai-dev-two.vercel.app";
|
|
152
152
|
declare const DEFAULT_CHROMIA_NODE_URLS: string[];
|
|
153
|
-
declare const DEFAULT_BLOCKCHAIN_RID = "
|
|
153
|
+
declare const DEFAULT_BLOCKCHAIN_RID = "F09A7219ACAE32C06D3962BB04D15F36C679C2BEB3FF24CDE5C8D577017EFFC6";
|
|
154
154
|
declare function isValidPrivateKey(hex: string): boolean;
|
|
155
155
|
declare function derivePublicKey(privKeyHex: string): string;
|
|
156
156
|
declare function generateKeyPair(): {
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ var DEFAULT_CHROMIA_NODE_URLS = [
|
|
|
36
36
|
"https://node7.testnet.chromia.com:7740",
|
|
37
37
|
"https://node8.testnet.chromia.com:7740"
|
|
38
38
|
];
|
|
39
|
-
var DEFAULT_BLOCKCHAIN_RID = "
|
|
39
|
+
var DEFAULT_BLOCKCHAIN_RID = "F09A7219ACAE32C06D3962BB04D15F36C679C2BEB3FF24CDE5C8D577017EFFC6";
|
|
40
40
|
function isValidPrivateKey(hex) {
|
|
41
41
|
return /^[0-9a-fA-F]{64}$/.test(hex);
|
|
42
42
|
}
|
package/package.json
CHANGED