@sats-connect/core 0.6.5-e7f85ed → 0.6.5

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.d.mts CHANGED
@@ -150,13 +150,6 @@ declare const networkChangeSchema: v.ObjectSchema<{
150
150
  readonly stacks: v.ObjectSchema<{
151
151
  readonly name: v.StringSchema<undefined>;
152
152
  }, undefined>;
153
- readonly addresses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
154
- readonly address: v.StringSchema<undefined>;
155
- readonly publicKey: v.StringSchema<undefined>;
156
- readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
157
- readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
158
- readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
159
- }, undefined>, undefined>, never>;
160
153
  }, undefined>;
161
154
  type NetworkChangeEvent = v.InferOutput<typeof networkChangeSchema>;
162
155
  declare const disconnectEventName = "disconnect";
@@ -181,13 +174,6 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
181
174
  readonly stacks: v.ObjectSchema<{
182
175
  readonly name: v.StringSchema<undefined>;
183
176
  }, undefined>;
184
- readonly addresses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
185
- readonly address: v.StringSchema<undefined>;
186
- readonly publicKey: v.StringSchema<undefined>;
187
- readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
188
- readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
189
- readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
190
- }, undefined>, undefined>, never>;
191
177
  }, undefined>, v.ObjectSchema<{
192
178
  readonly type: v.LiteralSchema<"disconnect", undefined>;
193
179
  }, undefined>], undefined>;
package/dist/index.d.ts CHANGED
@@ -150,13 +150,6 @@ declare const networkChangeSchema: v.ObjectSchema<{
150
150
  readonly stacks: v.ObjectSchema<{
151
151
  readonly name: v.StringSchema<undefined>;
152
152
  }, undefined>;
153
- readonly addresses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
154
- readonly address: v.StringSchema<undefined>;
155
- readonly publicKey: v.StringSchema<undefined>;
156
- readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
157
- readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
158
- readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
159
- }, undefined>, undefined>, never>;
160
153
  }, undefined>;
161
154
  type NetworkChangeEvent = v.InferOutput<typeof networkChangeSchema>;
162
155
  declare const disconnectEventName = "disconnect";
@@ -181,13 +174,6 @@ declare const walletEventSchema: v.VariantSchema<"type", [v.ObjectSchema<{
181
174
  readonly stacks: v.ObjectSchema<{
182
175
  readonly name: v.StringSchema<undefined>;
183
176
  }, undefined>;
184
- readonly addresses: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
185
- readonly address: v.StringSchema<undefined>;
186
- readonly publicKey: v.StringSchema<undefined>;
187
- readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
188
- readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
189
- readonly walletType: v.PicklistSchema<readonly ["software", "ledger", "keystone"], undefined>;
190
- }, undefined>, undefined>, never>;
191
177
  }, undefined>, v.ObjectSchema<{
192
178
  readonly type: v.LiteralSchema<"disconnect", undefined>;
193
179
  }, undefined>], undefined>;
package/dist/index.js CHANGED
@@ -205,9 +205,6 @@ __export(src_exports, {
205
205
  });
206
206
  module.exports = __toCommonJS(src_exports);
207
207
 
208
- // src/provider/types.ts
209
- var v4 = __toESM(require("valibot"));
210
-
211
208
  // src/addresses/index.ts
212
209
  var import_jsontokens = require("jsontokens");
213
210
 
@@ -314,6 +311,7 @@ var rpcResponseMessageSchema = v3.union([
314
311
  ]);
315
312
 
316
313
  // src/provider/types.ts
314
+ var v4 = __toESM(require("valibot"));
317
315
  var accountChangeEventName = "accountChange";
318
316
  var accountChangeSchema = v4.object({
319
317
  type: v4.literal(accountChangeEventName),
@@ -327,8 +325,7 @@ var networkChangeSchema = v4.object({
327
325
  }),
328
326
  stacks: v4.object({
329
327
  name: v4.string()
330
- }),
331
- addresses: v4.optional(v4.array(addressSchema))
328
+ })
332
329
  });
333
330
  var disconnectEventName = "disconnect";
334
331
  var disconnectSchema = v4.object({
package/dist/index.mjs CHANGED
@@ -1,6 +1,3 @@
1
- // src/provider/types.ts
2
- import * as v4 from "valibot";
3
-
4
1
  // src/addresses/index.ts
5
2
  import { createUnsecuredToken } from "jsontokens";
6
3
 
@@ -107,6 +104,7 @@ var rpcResponseMessageSchema = v3.union([
107
104
  ]);
108
105
 
109
106
  // src/provider/types.ts
107
+ import * as v4 from "valibot";
110
108
  var accountChangeEventName = "accountChange";
111
109
  var accountChangeSchema = v4.object({
112
110
  type: v4.literal(accountChangeEventName),
@@ -120,8 +118,7 @@ var networkChangeSchema = v4.object({
120
118
  }),
121
119
  stacks: v4.object({
122
120
  name: v4.string()
123
- }),
124
- addresses: v4.optional(v4.array(addressSchema))
121
+ })
125
122
  });
126
123
  var disconnectEventName = "disconnect";
127
124
  var disconnectSchema = v4.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sats-connect/core",
3
- "version": "0.6.5-e7f85ed",
3
+ "version": "0.6.5",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.mts",