@solarpunkltd/swarm-id 0.8.0 → 0.8.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/README.md CHANGED
@@ -37,6 +37,9 @@ const client = new SwarmIdClient({
37
37
  name: "My dApp",
38
38
  description: "A demo Swarm application",
39
39
  },
40
+ // Optional: the Bee node this site's content goes through, in place of the
41
+ // person's own setting. Change it later with client.setBeeApiUrl(url).
42
+ // beeApiUrl: "https://bee.example.com/",
40
43
  onConnectionChange: (info) => {
41
44
  console.log(
42
45
  "Connection changed:",
@@ -65,7 +65,7 @@ export declare const AccountDeltaMessageSchema: z.ZodObject<{
65
65
  appIcon: z.ZodOptional<z.ZodString>;
66
66
  appUrl: z.ZodString;
67
67
  lastConnectedAt: z.ZodNumber;
68
- postageStampBatchID: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@ethersphere/core-sdk").BatchId, string>>>;
68
+ postageStampBatchID: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"none">, z.ZodPipe<z.ZodString, z.ZodTransform<import("@ethersphere/core-sdk").BatchId, string>>]>>;
69
69
  postageStampBatchIDAt: z.ZodOptional<z.ZodNumber>;
70
70
  revokedAt: z.ZodOptional<z.ZodNumber>;
71
71
  disconnectedAt: z.ZodOptional<z.ZodNumber>;
@@ -203,7 +203,7 @@ export declare const BusMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
203
203
  appIcon: z.ZodOptional<z.ZodString>;
204
204
  appUrl: z.ZodString;
205
205
  lastConnectedAt: z.ZodNumber;
206
- postageStampBatchID: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@ethersphere/core-sdk").BatchId, string>>>;
206
+ postageStampBatchID: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"none">, z.ZodPipe<z.ZodString, z.ZodTransform<import("@ethersphere/core-sdk").BatchId, string>>]>>;
207
207
  postageStampBatchIDAt: z.ZodOptional<z.ZodNumber>;
208
208
  revokedAt: z.ZodOptional<z.ZodNumber>;
209
209
  disconnectedAt: z.ZodOptional<z.ZodNumber>;