@bsv/sdk 1.4.7 → 1.4.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsv/sdk",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "type": "module",
5
5
  "description": "BSV Blockchain Software Development Kit",
6
6
  "main": "dist/cjs/mod.js",
@@ -74,7 +74,7 @@ export interface OverlayBroadcastFacilitator {
74
74
  send: (url: string, taggedBEEF: TaggedBEEF) => Promise<STEAK>
75
75
  }
76
76
 
77
- const MAX_SHIP_QUERY_TIMEOUT = 1000
77
+ const MAX_SHIP_QUERY_TIMEOUT = 5000
78
78
 
79
79
  export class HTTPSOverlayBroadcastFacilitator implements OverlayBroadcastFacilitator {
80
80
  httpClient: typeof fetch
@@ -88,7 +88,7 @@ describe('SHIPCast', () => {
88
88
  topics: ['tm_foo']
89
89
  }
90
90
  },
91
- 1000
91
+ 5000
92
92
  )
93
93
 
94
94
  expect(mockFacilitator.send).toHaveBeenCalledWith('https://shiphost.com', {
@@ -289,7 +289,7 @@ describe('SHIPCast', () => {
289
289
  topics: ['tm_foo']
290
290
  }
291
291
  },
292
- 1000
292
+ 5000
293
293
  )
294
294
 
295
295
  expect(mockFacilitator.send).not.toHaveBeenCalled()
@@ -516,7 +516,7 @@ describe('SHIPCast', () => {
516
516
  topics: ['tm_foo', 'tm_bar']
517
517
  }
518
518
  },
519
- 1000
519
+ 5000
520
520
  )
521
521
 
522
522
  expect(mockFacilitator.send).toHaveBeenCalledTimes(2)
@@ -971,7 +971,7 @@ describe('SHIPCast', () => {
971
971
  topics: ['tm_foo', 'tm_bar']
972
972
  }
973
973
  },
974
- 1000
974
+ 5000
975
975
  )
976
976
  })
977
977