@bsv/sdk 1.3.23 → 1.3.25

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.
@@ -262,7 +262,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
262
262
  | [HTTPSOverlayLookupFacilitator](#class-httpsoverlaylookupfacilitator) |
263
263
  | [LookupResolver](#class-lookupresolver) |
264
264
  | [OverlayAdminTokenTemplate](#class-overlayadmintokentemplate) |
265
- | [SHIPCast](#class-shipcast) |
265
+ | [SHIPBroadcaster](#class-shipbroadcaster) |
266
266
 
267
267
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
268
268
 
@@ -430,12 +430,12 @@ Argument Details
430
430
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
431
431
 
432
432
  ---
433
- ### Class: SHIPCast
433
+ ### Class: SHIPBroadcaster
434
434
 
435
435
  Represents a SHIP transaction broadcaster.
436
436
 
437
437
  ```ts
438
- export default class SHIPCast implements Broadcaster {
438
+ export default class SHIPBroadcaster implements Broadcaster {
439
439
  constructor(topics: string[], config?: SHIPBroadcasterConfig)
440
440
  async broadcast(tx: Transaction): Promise<BroadcastResponse | BroadcastFailure>
441
441
  }
package/docs/script.md CHANGED
@@ -211,11 +211,12 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
211
211
  ```ts
212
212
  export default class PushDrop implements ScriptTemplate {
213
213
  wallet: WalletInterface;
214
+ originator?: string;
214
215
  static decode(script: LockingScript): {
215
216
  lockingPublicKey: PublicKey;
216
217
  fields: number[][];
217
218
  }
218
- constructor(wallet: WalletInterface)
219
+ constructor(wallet: WalletInterface, originator?: string)
219
220
  async lock(fields: number[][], protocolID: [
220
221
  SecurityLevel,
221
222
  string
@@ -237,7 +238,7 @@ See also: [LockingScript](./script.md#class-lockingscript), [PublicKey](./primit
237
238
  Constructs a new instance of the PushDrop class.
238
239
 
239
240
  ```ts
240
- constructor(wallet: WalletInterface)
241
+ constructor(wallet: WalletInterface, originator?: string)
241
242
  ```
242
243
  See also: [WalletInterface](./wallet.md#interface-walletinterface)
243
244
 
@@ -245,6 +246,8 @@ Argument Details
245
246
 
246
247
  + **wallet**
247
248
  + The wallet interface used for creating signatures and accessing public keys.
249
+ + **originator**
250
+ + — The originator to use with Wallet requests
248
251
 
249
252
  #### Method decode
250
253
 
@@ -1,9 +1,9 @@
1
- window.onload = function () {
2
- // <editor-fold desc="Changeable Configuration Block">
1
+ window.onload = function() {
2
+ //<editor-fold desc="Changeable Configuration Block">
3
3
 
4
4
  // the following lines will be replaced by docker/configurator, when it runs in a docker-container
5
5
  window.ui = SwaggerUIBundle({
6
- url: 'swagger.yaml',
6
+ url: "swagger.yaml",
7
7
  dom_id: '#swagger-ui',
8
8
  deepLinking: true,
9
9
  presets: [
@@ -13,8 +13,8 @@ window.onload = function () {
13
13
  plugins: [
14
14
  SwaggerUIBundle.plugins.DownloadUrl
15
15
  ],
16
- layout: 'StandaloneLayout'
17
- })
16
+ layout: "StandaloneLayout"
17
+ });
18
18
 
19
- // </editor-fold>
20
- }
19
+ //</editor-fold>
20
+ };