@atbash/sdk 0.3.13 → 0.3.15
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
|
@@ -175,7 +175,7 @@ var DEFAULT_CHROMIA_NODE_URLS = [
|
|
|
175
175
|
"https://node7.testnet.chromia.com:7740",
|
|
176
176
|
"https://node8.testnet.chromia.com:7740"
|
|
177
177
|
];
|
|
178
|
-
var DEFAULT_BLOCKCHAIN_RID = "
|
|
178
|
+
var DEFAULT_BLOCKCHAIN_RID = "3CF2566BF0E606C8D6F9360566DB2FE3BC254C39451BAEB6D736E916D677486A";
|
|
179
179
|
function isValidPrivateKey(hex) {
|
|
180
180
|
return /^[0-9a-fA-F]{64}$/.test(hex);
|
|
181
181
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -150,7 +150,7 @@ interface AtbashClientConfig {
|
|
|
150
150
|
|
|
151
151
|
declare const DEFAULT_ENDPOINT = "https://atbash.ai";
|
|
152
152
|
declare const DEFAULT_CHROMIA_NODE_URLS: string[];
|
|
153
|
-
declare const DEFAULT_BLOCKCHAIN_RID = "
|
|
153
|
+
declare const DEFAULT_BLOCKCHAIN_RID = "3CF2566BF0E606C8D6F9360566DB2FE3BC254C39451BAEB6D736E916D677486A";
|
|
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://atbash.ai";
|
|
152
152
|
declare const DEFAULT_CHROMIA_NODE_URLS: string[];
|
|
153
|
-
declare const DEFAULT_BLOCKCHAIN_RID = "
|
|
153
|
+
declare const DEFAULT_BLOCKCHAIN_RID = "3CF2566BF0E606C8D6F9360566DB2FE3BC254C39451BAEB6D736E916D677486A";
|
|
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
|
@@ -105,7 +105,7 @@ var DEFAULT_CHROMIA_NODE_URLS = [
|
|
|
105
105
|
"https://node7.testnet.chromia.com:7740",
|
|
106
106
|
"https://node8.testnet.chromia.com:7740"
|
|
107
107
|
];
|
|
108
|
-
var DEFAULT_BLOCKCHAIN_RID = "
|
|
108
|
+
var DEFAULT_BLOCKCHAIN_RID = "3CF2566BF0E606C8D6F9360566DB2FE3BC254C39451BAEB6D736E916D677486A";
|
|
109
109
|
function isValidPrivateKey(hex) {
|
|
110
110
|
return /^[0-9a-fA-F]{64}$/.test(hex);
|
|
111
111
|
}
|