@sleeperhq/mini-core 4.0.3 → 4.0.4

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.
@@ -19,7 +19,7 @@
19
19
  "@react-navigation/native": "6.1.17",
20
20
  "@react-navigation/stack": "6.4.0",
21
21
  "@shopify/flash-list": "1.7.6",
22
- "@sleeperhq/mini-core": "4.0.3",
22
+ "@sleeperhq/mini-core": "4.0.4",
23
23
  "amazon-cognito-identity-js": "6.3.2",
24
24
  "crypto-js": "3.3.0",
25
25
  "decimal.js-light": "2.5.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sleeperhq/mini-core",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "description": "Core library frameworks for developing Sleeper Mini Apps.",
5
5
  "main": "index.ts",
6
6
  "types": "index.d.ts",
package/rspack.config.js CHANGED
@@ -237,7 +237,7 @@ module.exports = env => {
237
237
  },
238
238
  extraChunks: [
239
239
  {
240
- include: new RegExp('.*'),
240
+ include: /.*/,
241
241
  type: 'remote',
242
242
  outputPath: path.join(__dirname, '..', '..', '..', 'dist', config.name, platform),
243
243
  },
@@ -245,8 +245,9 @@ module.exports = env => {
245
245
  listenerIP: config.remoteIP,
246
246
  }),
247
247
  new ReanimatedPlugin(),
248
- new Repack.plugins.ModuleFederationPlugin({
248
+ new Repack.plugins.ModuleFederationPluginV2({
249
249
  name: config.name,
250
+ filename: `${config.name}.container.bundle`,
250
251
  exposes: {
251
252
  app: sampleClassPathLocal,
252
253
  },
package/webpack.config.js CHANGED
@@ -289,7 +289,7 @@ module.exports = env => {
289
289
  },
290
290
  extraChunks: [
291
291
  {
292
- include: new RegExp('.*'),
292
+ include: /.*/,
293
293
  type: 'remote',
294
294
  outputPath: path.join(__dirname, '..', '..', '..', 'dist', config.name, platform),
295
295
  },
@@ -297,8 +297,9 @@ module.exports = env => {
297
297
  listenerIP: config.remoteIP,
298
298
  }),
299
299
 
300
- new Repack.plugins.ModuleFederationPlugin({
300
+ new Repack.plugins.ModuleFederationPluginV2({
301
301
  name: config.name,
302
+ filename: `${config.name}.container.bundle`,
302
303
  exposes: {
303
304
  app: sampleClassPathLocal,
304
305
  },