@miradorlabs/parallax-web 1.0.1 → 1.0.2

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": "@miradorlabs/parallax-web",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Parallax Web Client Side SDK ",
5
5
  "main": "dist/index.umd.js",
6
6
  "module": "dist/index.esm.js",
package/rollup.config.mjs CHANGED
@@ -25,9 +25,7 @@ export default [
25
25
  }),
26
26
  ],
27
27
  external: [
28
- 'google-protobuf',
29
- 'mirador-gateway-parallax-web',
30
- /^mirador-gateway-parallax-web\/.*/,
28
+ // Keep these as peer dependencies - users should provide them
31
29
  'rxjs',
32
30
  /^rxjs\/.*/,
33
31
  ],
@@ -41,9 +39,6 @@ export default [
41
39
  name: 'ParallaxWeb',
42
40
  sourcemap: true,
43
41
  globals: {
44
- 'google-protobuf': 'googleProtobuf',
45
- 'mirador-gateway-parallax-web': 'miradorGatewayParallaxWeb',
46
- 'mirador-gateway-parallax-web/proto/gateway/parallax/v1/parallax_gateway': 'miradorGatewayParallaxWeb.parallaxGateway',
47
42
  'rxjs': 'rxjs',
48
43
  },
49
44
  },
@@ -60,9 +55,7 @@ export default [
60
55
  }),
61
56
  ],
62
57
  external: [
63
- 'google-protobuf',
64
- 'mirador-gateway-parallax-web',
65
- /^mirador-gateway-parallax-web\/.*/,
58
+ // Keep rxjs as external - it's commonly provided
66
59
  'rxjs',
67
60
  /^rxjs\/.*/,
68
61
  ],
@@ -76,9 +69,6 @@ export default [
76
69
  },
77
70
  plugins: [dts()],
78
71
  external: [
79
- 'google-protobuf',
80
- 'mirador-gateway-parallax-web',
81
- /^mirador-gateway-parallax-web\/.*/,
82
72
  'rxjs',
83
73
  /^rxjs\/.*/,
84
74
  ],