@stellar/typescript-wallet-sdk 3.0.3-beta.1786146826692 → 3.0.3-beta.1786398758713

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.
@@ -1,7 +1,17 @@
1
1
  module.exports = {
2
2
  rootDir: "./",
3
3
  preset: "ts-jest",
4
- transformIgnorePatterns: [`/node_modules/(?!${["@stablelib"].join("|")})`],
4
+ // @stellar/stellar-sdk v16 pulls in several ESM-only packages (directly or
5
+ // transitively) that must be transformed to run under Jest's CommonJS runtime.
6
+ transformIgnorePatterns: [
7
+ `/node_modules/(?!${[
8
+ "@stablelib",
9
+ "@noble",
10
+ "uint8array-extras",
11
+ "smol-toml",
12
+ "eventsource",
13
+ ].join("|")})`,
14
+ ],
5
15
  transform: {
6
16
  "^.+\\.(ts|tsx)?$": "ts-jest",
7
17
  "^.+\\.(js|jsx)$": "babel-jest",
@@ -1,7 +1,17 @@
1
1
  module.exports = {
2
2
  rootDir: "./",
3
3
  preset: "ts-jest",
4
- transformIgnorePatterns: [`/node_modules/(?!${["@stablelib"].join("|")})`],
4
+ // @stellar/stellar-sdk v16 pulls in several ESM-only packages (directly or
5
+ // transitively) that must be transformed to run under Jest's CommonJS runtime.
6
+ transformIgnorePatterns: [
7
+ `/node_modules/(?!${[
8
+ "@stablelib",
9
+ "@noble",
10
+ "uint8array-extras",
11
+ "smol-toml",
12
+ "eventsource",
13
+ ].join("|")})`,
14
+ ],
5
15
  transform: {
6
16
  "^.+\\.(ts|tsx)?$": "ts-jest",
7
17
  "^.+\\.(js|jsx)$": "babel-jest",