@player-ui/shared-constants-plugin 0.3.0-next.3 → 0.3.0-next.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.
package/dist/index.cjs.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var binding = require('@player-ui/binding');
5
+ var player = require('@player-ui/player');
6
6
  var get = require('dlv');
7
7
 
8
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -16,7 +16,7 @@ class ConstantsPlugin {
16
16
  var _a, _b;
17
17
  this.data = params.data;
18
18
  this.namespace = (_a = params.namespace) != null ? _a : "constants";
19
- this.dataPath = new binding.BindingInstance((_b = params.dataPath) != null ? _b : ["data", "constants"]);
19
+ this.dataPath = new player.BindingInstance((_b = params.dataPath) != null ? _b : ["data", "constants"]);
20
20
  }
21
21
  apply(player) {
22
22
  const updatePlayerConstants = () => player.constantsController.addConstants(this.data, this.namespace);
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { BindingInstance } from '@player-ui/binding';
1
+ import { BindingInstance } from '@player-ui/player';
2
2
  import get from 'dlv';
3
3
 
4
4
  class ConstantsPlugin {
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@player-ui/shared-constants-plugin",
3
- "version": "0.3.0-next.3",
3
+ "version": "0.3.0-next.4",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org"
7
7
  },
8
8
  "peerDependencies": {
9
- "@player-ui/player": "0.3.0-next.3"
9
+ "@player-ui/player": "0.3.0-next.4"
10
10
  },
11
11
  "dependencies": {
12
12
  "tapable-ts": "^0.1.0",
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { Player, PlayerPlugin } from '@player-ui/player';
2
- import { BindingInstance } from '@player-ui/binding';
2
+ import { BindingInstance } from '@player-ui/player';
3
3
  import get from 'dlv';
4
4
 
5
5
  export interface ConstantsPluginConfig {