Skip to content

Commit

Permalink
chore: update polyfills
Browse files Browse the repository at this point in the history
  • Loading branch information
danisharora099 committed Oct 10, 2024
1 parent d8c0b34 commit f90345d
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 50 deletions.
3 changes: 2 additions & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"packages/relay": "0.0.15",
"packages/sdk": "0.0.28",
"packages/discovery": "0.0.5",
"packages/react-native-polyfills": "0.0.1"
"packages/react-native-polyfills": "0.0.1",
"packages/custom-event-polyfill": "0.0.1"
}
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@
"it-length-prefixed": "^9.0.4",
"it-pipe": "^3.0.1",
"uint8arraylist": "^2.4.3",
"uuid": "^9.0.0"
"uuid": "^9.0.0",
"@waku/custom-event-polyfill": "0.0.1"
},
"devDependencies": {
"@multiformats/multiaddr": "^12.0.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import "@waku/custom-event-polyfill";

export { createEncoder, createDecoder } from "./lib/message/version_0.js";
export type {
Encoder,
Expand Down
43 changes: 0 additions & 43 deletions packages/custom-event-polyfill/package.json

This file was deleted.

3 changes: 2 additions & 1 deletion packages/discovery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"debug": "^4.3.4",
"dns-query": "^0.11.2",
"hi-base32": "^0.5.1",
"uint8arrays": "^5.0.1"
"uint8arrays": "^5.0.1",
"@waku/custom-event-polyfill": "0.0.1"
},
"devDependencies": {
"@libp2p/peer-id": "^4.2.1",
Expand Down
2 changes: 2 additions & 0 deletions packages/discovery/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import "@waku/custom-event-polyfill";

// DNS Discovery
export { PeerDiscoveryDns, wakuDnsDiscovery } from "./dns/dns_discovery.js";
export { enrTree } from "./dns/constants.js";
Expand Down
3 changes: 2 additions & 1 deletion packages/relay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"chai": "^4.3.10",
"debug": "^4.3.4",
"fast-check": "^3.19.0",
"p-event": "^6.0.1"
"p-event": "^6.0.1",
"@waku/custom-event-polyfill": "0.0.1"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
Expand Down
1 change: 1 addition & 0 deletions packages/relay/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
import "@waku/custom-event-polyfill";
export * from "./relay.js";
export * from "./create.js";
3 changes: 2 additions & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
"@waku/proto": "^0.0.8",
"@waku/utils": "0.0.20",
"@waku/message-hash": "0.1.16",
"libp2p": "^1.8.1"
"libp2p": "^1.8.1",
"@waku/custom-event-polyfill": "0.0.1"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
Expand Down
2 changes: 2 additions & 0 deletions packages/sdk/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import "@waku/custom-event-polyfill";

export { createEncoder, createDecoder } from "@waku/core";
export {
DecodedMessage,
Expand Down
1 change: 1 addition & 0 deletions packages/tests/src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import "@waku/custom-event-polyfill";
export * from "./generate_test_data.js";
export * from "./teardown.js";
export * from "./random_array.js";
Expand Down
3 changes: 2 additions & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
"@waku/interfaces": "0.0.27",
"chai": "^4.3.10",
"debug": "^4.3.4",
"uint8arrays": "^5.0.1"
"uint8arrays": "^5.0.1",
"@waku/custom-event-polyfill": "0.0.1"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
Expand Down
3 changes: 2 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"packages/sdk": {},
"packages/relay": {},
"packages/discovery": {},
"packages/react-native-polyfills": {}
"packages/react-native-polyfills": {},
"packages/custom-event-polyfill": {}
}
}

0 comments on commit f90345d

Please sign in to comment.