teamplay 0.5.0-alpha.22 → 0.5.0-alpha.23

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.
@@ -149,22 +149,6 @@ class SignalCompat extends Signal {
149
149
  return Signal.prototype.set.call(this, value);
150
150
  return setReplaceOnSignal(this, value);
151
151
  }
152
- async add(collectionOrValue, value) {
153
- const isRoot = this[SEGMENTS].length === 0;
154
- const isRootCollectionCall = isRoot && typeof collectionOrValue === 'string';
155
- if (isRootCollectionCall) {
156
- if (arguments.length !== 2)
157
- throw Error('Signal.add() expects (collection, object)');
158
- if (!value || typeof value !== 'object')
159
- throw Error('Signal.add() expects an object argument');
160
- const $root = getRoot(this) || this;
161
- const $collection = resolveSignal($root, [collectionOrValue]);
162
- return $collection.add(value);
163
- }
164
- if (arguments.length > 1)
165
- throw Error('Signal.add() expects a single argument');
166
- return Signal.prototype.add.call(this, collectionOrValue);
167
- }
168
152
  async setNull(value) {
169
153
  const forwarded = forwardRef(this, 'setNull', arguments);
170
154
  if (forwarded)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teamplay",
3
- "version": "0.5.0-alpha.22",
3
+ "version": "0.5.0-alpha.23",
4
4
  "description": "Full-stack signals ORM with multiplayer",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -134,5 +134,5 @@
134
134
  ]
135
135
  },
136
136
  "license": "MIT",
137
- "gitHead": "9d05517747e59a37bc34e7579d3637efff9c1d69"
137
+ "gitHead": "b3dcd5e4b680a5a380fe68ce41f6da93b1deeb85"
138
138
  }