bulletin-deploy 0.6.3-rc.2 → 0.6.3
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/{chunk-GDBX7GJI.js → chunk-ECOC6TV4.js} +1 -1
- package/dist/{chunk-SSCJ4RFL.js → chunk-IPTNRVHY.js} +4 -4
- package/dist/{chunk-BF46FEQP.js → chunk-TITCVJJF.js} +1 -1
- package/dist/deploy.js +3 -3
- package/dist/dotns.js +2 -2
- package/dist/index.js +3 -3
- package/dist/telemetry.js +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
TX_TIMEOUT_MS,
|
|
5
5
|
fetchNonce,
|
|
6
6
|
validateDomainLabel
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TITCVJJF.js";
|
|
8
8
|
import {
|
|
9
9
|
derivePoolAccounts,
|
|
10
10
|
ensureAuthorized,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
setDeployAttribute,
|
|
19
19
|
withDeploySpan,
|
|
20
20
|
withSpan
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ECOC6TV4.js";
|
|
22
22
|
|
|
23
23
|
// src/deploy.ts
|
|
24
24
|
import { Buffer } from "buffer";
|
|
@@ -723,8 +723,8 @@ async function deploy(content, domainName = null, options = {}) {
|
|
|
723
723
|
POOL_SIZE = options.poolSize ?? parseInt(process.env.BULLETIN_POOL_SIZE ?? String(DEFAULT_POOL_SIZE), 10);
|
|
724
724
|
initTelemetry();
|
|
725
725
|
const randomSuffix = Math.floor(Math.random() * 100).toString().padStart(2, "0");
|
|
726
|
-
const
|
|
727
|
-
validateDomainLabel(
|
|
726
|
+
const rawName = domainName ? domainName.replace(".dot", "") : `test-domain-${Date.now().toString(36)}${randomSuffix}`;
|
|
727
|
+
const name = validateDomainLabel(rawName);
|
|
728
728
|
return withDeploySpan(name, async () => {
|
|
729
729
|
let cid;
|
|
730
730
|
let ipfsCid;
|
package/dist/deploy.js
CHANGED
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
storeChunkedContent,
|
|
20
20
|
storeDirectory,
|
|
21
21
|
storeFile
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-IPTNRVHY.js";
|
|
23
|
+
import "./chunk-TITCVJJF.js";
|
|
24
24
|
import "./chunk-AIHW2WLO.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-ECOC6TV4.js";
|
|
26
26
|
import "./chunk-QGM4M3NI.js";
|
|
27
27
|
export {
|
|
28
28
|
DEFAULT_BULLETIN_RPC,
|
package/dist/dotns.js
CHANGED
|
@@ -19,8 +19,8 @@ import {
|
|
|
19
19
|
sanitizeDomainLabel,
|
|
20
20
|
stripTrailingDigits,
|
|
21
21
|
validateDomainLabel
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-TITCVJJF.js";
|
|
23
|
+
import "./chunk-ECOC6TV4.js";
|
|
24
24
|
import "./chunk-QGM4M3NI.js";
|
|
25
25
|
export {
|
|
26
26
|
CONNECTION_TIMEOUT_MS,
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deploy
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IPTNRVHY.js";
|
|
4
4
|
import {
|
|
5
5
|
DotNS
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TITCVJJF.js";
|
|
7
7
|
import {
|
|
8
8
|
bootstrapPool,
|
|
9
9
|
derivePoolAccounts,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
fetchPoolAuthorizations,
|
|
12
12
|
selectAccount
|
|
13
13
|
} from "./chunk-AIHW2WLO.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-ECOC6TV4.js";
|
|
15
15
|
import "./chunk-QGM4M3NI.js";
|
|
16
16
|
export {
|
|
17
17
|
DotNS,
|
package/dist/telemetry.js
CHANGED