@atbash/sdk 0.3.11 → 0.3.13
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -115,7 +115,7 @@ function setupTelemetry(config) {
|
|
|
115
115
|
if (!config.enabled) return;
|
|
116
116
|
if (meterProvider) return;
|
|
117
117
|
defaultSource = config.source ?? "sdk";
|
|
118
|
-
const ATBASH_HONEYCOMB_KEY = "
|
|
118
|
+
const ATBASH_HONEYCOMB_KEY = "YOUR_INGEST_KEY_HERE";
|
|
119
119
|
const apiKey = process.env.HONEYCOMB_API_KEY ?? ATBASH_HONEYCOMB_KEY;
|
|
120
120
|
const exporter = new import_exporter_metrics_otlp_http.OTLPMetricExporter({
|
|
121
121
|
url: "https://api.honeycomb.io/v1/metrics",
|
|
@@ -169,7 +169,7 @@ 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",
|
package/dist/index.d.cts
CHANGED
|
@@ -148,7 +148,7 @@ 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
153
|
declare const DEFAULT_BLOCKCHAIN_RID = "F09A7219ACAE32C06D3962BB04D15F36C679C2BEB3FF24CDE5C8D577017EFFC6";
|
|
154
154
|
declare function isValidPrivateKey(hex: string): boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -148,7 +148,7 @@ 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
153
|
declare const DEFAULT_BLOCKCHAIN_RID = "F09A7219ACAE32C06D3962BB04D15F36C679C2BEB3FF24CDE5C8D577017EFFC6";
|
|
154
154
|
declare function isValidPrivateKey(hex: string): boolean;
|
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ function setupTelemetry(config) {
|
|
|
45
45
|
if (!config.enabled) return;
|
|
46
46
|
if (meterProvider) return;
|
|
47
47
|
defaultSource = config.source ?? "sdk";
|
|
48
|
-
const ATBASH_HONEYCOMB_KEY = "
|
|
48
|
+
const ATBASH_HONEYCOMB_KEY = "YOUR_INGEST_KEY_HERE";
|
|
49
49
|
const apiKey = process.env.HONEYCOMB_API_KEY ?? ATBASH_HONEYCOMB_KEY;
|
|
50
50
|
const exporter = new OTLPMetricExporter({
|
|
51
51
|
url: "https://api.honeycomb.io/v1/metrics",
|
|
@@ -99,7 +99,7 @@ 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",
|