@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/dist/cjs/package.json +1 -1
- package/dist/cjs/src/overlay-tools/SHIPBroadcaster.js +1 -1
- package/dist/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/esm/src/overlay-tools/SHIPBroadcaster.js +1 -1
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/dist/umd/bundle.js +1 -1
- package/package.json +1 -1
- package/src/overlay-tools/SHIPBroadcaster.ts +1 -1
- package/src/overlay-tools/__tests/SHIPBroadcaster.test.ts +4 -4
package/package.json
CHANGED
|
@@ -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 =
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
974
|
+
5000
|
|
975
975
|
)
|
|
976
976
|
})
|
|
977
977
|
|