@atbash/sdk 0.3.12 → 0.3.14
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 +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -169,13 +169,13 @@ async function shutdownTelemetry() {
|
|
|
169
169
|
|
|
170
170
|
// src/client.ts
|
|
171
171
|
var { createClient, encryption: encryption2, newSignatureProvider } = import_postchain_client2.default;
|
|
172
|
-
var DEFAULT_ENDPOINT = "https://
|
|
172
|
+
var DEFAULT_ENDPOINT = "https://atbash.ai";
|
|
173
173
|
var DEFAULT_CHROMIA_NODE_URLS = [
|
|
174
174
|
"https://node6.testnet.chromia.com:7740",
|
|
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 = "25B41DF620C489349C54944496FF5C6E58CFCEFED0C51658780B67299D40E8ED";
|
|
179
179
|
function isValidPrivateKey(hex) {
|
|
180
180
|
return /^[0-9a-fA-F]{64}$/.test(hex);
|
|
181
181
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -148,9 +148,9 @@ interface AtbashClientConfig {
|
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
declare const DEFAULT_ENDPOINT = "https://
|
|
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 = "25B41DF620C489349C54944496FF5C6E58CFCEFED0C51658780B67299D40E8ED";
|
|
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
|
@@ -148,9 +148,9 @@ interface AtbashClientConfig {
|
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
declare const DEFAULT_ENDPOINT = "https://
|
|
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 = "25B41DF620C489349C54944496FF5C6E58CFCEFED0C51658780B67299D40E8ED";
|
|
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
|
@@ -99,13 +99,13 @@ async function shutdownTelemetry() {
|
|
|
99
99
|
|
|
100
100
|
// src/client.ts
|
|
101
101
|
var { createClient, encryption: encryption2, newSignatureProvider } = postchain2;
|
|
102
|
-
var DEFAULT_ENDPOINT = "https://
|
|
102
|
+
var DEFAULT_ENDPOINT = "https://atbash.ai";
|
|
103
103
|
var DEFAULT_CHROMIA_NODE_URLS = [
|
|
104
104
|
"https://node6.testnet.chromia.com:7740",
|
|
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 = "25B41DF620C489349C54944496FF5C6E58CFCEFED0C51658780B67299D40E8ED";
|
|
109
109
|
function isValidPrivateKey(hex) {
|
|
110
110
|
return /^[0-9a-fA-F]{64}$/.test(hex);
|
|
111
111
|
}
|