solid-ctrl-flow 1.0.51 → 1.0.53

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.d.ts CHANGED
@@ -127,15 +127,6 @@ export declare function createReactiveResource<R>(f: EffectFunction<R | undefine
127
127
  /** Built-in {@link ReactiveContext} which allows you to display different things in debug mode */
128
128
  export declare const debug: ReactiveContext<boolean>;
129
129
 
130
- /**
131
- * Defines a reactive property on an object
132
- * @param obj The object on which to define the property
133
- * @param k The key of the property that will be defined
134
- * @param param2 The {@link Signal} to use as the data store of the property
135
- * @returns The same thing passed as {@link obj}
136
- */
137
- export declare function defineSignalProperty<const T, K extends keyof T>(obj: T, k: K, [get, set]: Signal<T[K]>): T;
138
-
139
130
  /**
140
131
  * Eventually wraps its content into a template if a certain condition is met.
141
132
  * If you set {@link Standard.recycled} to `true`, the content will be memoized in the beginning and will be recycled even if the wrapper changes.
package/dist/index.mjs CHANGED
@@ -67,15 +67,6 @@ function runWithContext(ctx2, value, f) {
67
67
  function untrackCall(f, ...args) {
68
68
  return untrack(() => f.apply(this, args));
69
69
  }
70
- function defineSignalProperty(obj, k, [get, set]) {
71
- return Object.defineProperty(obj, k, {
72
- get,
73
- set,
74
- enumerable: true,
75
- writable: true,
76
- configurable: true
77
- });
78
- }
79
70
  function createReactiveResource(f) {
80
71
  var refetch;
81
72
  const memo = createMemo(f);
@@ -297,7 +288,6 @@ export {
297
288
  createExtractor,
298
289
  createReactiveResource,
299
290
  debug,
300
- defineSignalProperty,
301
291
  memoProps,
302
292
  runWithContext,
303
293
  splitAndMemoProps,
package/dist/index.umd.js CHANGED
@@ -69,15 +69,6 @@
69
69
  function untrackCall(f, ...args) {
70
70
  return solidJs.untrack(() => f.apply(this, args));
71
71
  }
72
- function defineSignalProperty(obj, k, [get, set]) {
73
- return Object.defineProperty(obj, k, {
74
- get,
75
- set,
76
- enumerable: true,
77
- writable: true,
78
- configurable: true
79
- });
80
- }
81
72
  function createReactiveResource(f) {
82
73
  var refetch;
83
74
  const memo = solidJs.createMemo(f);
@@ -297,7 +288,6 @@
297
288
  exports2.createExtractor = createExtractor;
298
289
  exports2.createReactiveResource = createReactiveResource;
299
290
  exports2.debug = debug;
300
- exports2.defineSignalProperty = defineSignalProperty;
301
291
  exports2.memoProps = memoProps;
302
292
  exports2.runWithContext = runWithContext;
303
293
  exports2.splitAndMemoProps = splitAndMemoProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solid-ctrl-flow",
3
- "version": "1.0.51",
3
+ "version": "1.0.53",
4
4
  "description": "Control flow components for solid-js",
5
5
  "author": "AFatNiBBa",
6
6
  "license": "ISC",
package/readMe.md CHANGED
@@ -215,9 +215,6 @@ return <>
215
215
  ### `untrackCall()`
216
216
  Calls a function untracking what happens inside of it but not what gets passed as its argument
217
217
 
218
- ### `defineSignalProperty()`
219
- Defines a reactive property on an object
220
-
221
218
  ### `createReactiveResource()`
222
219
  Like `createResource()` but the provided function will be reactive
223
220