toilscript 0.1.46 → 0.1.48

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/web.js CHANGED
@@ -1,8 +1,8 @@
1
- var ASSEMBLYSCRIPT_VERSION = "0.1.46";
1
+ var ASSEMBLYSCRIPT_VERSION = "0.1.48";
2
2
  var ASSEMBLYSCRIPT_IMPORTMAP = {
3
3
  "imports": {
4
- "toilscript": "https://cdn.jsdelivr.net/npm/toilscript@0.1.46/dist/toilscript.js",
5
- "toilscript/cli": "https://cdn.jsdelivr.net/npm/toilscript@0.1.46/dist/cli.js",
4
+ "toilscript": "https://cdn.jsdelivr.net/npm/toilscript@0.1.48/dist/toilscript.js",
5
+ "toilscript/cli": "https://cdn.jsdelivr.net/npm/toilscript@0.1.48/dist/cli.js",
6
6
  "binaryen": "https://cdn.jsdelivr.net/npm/binaryen@130.0.0-nightly.20260609/index.js",
7
7
  "long": "https://cdn.jsdelivr.net/npm/long@5.3.2/index.js"
8
8
  }
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "toilscript",
9
9
  "wasm"
10
10
  ],
11
- "version": "0.1.46",
11
+ "version": "0.1.48",
12
12
  "author": "Daniel Wirtz <dcode+assemblyscript@dcode.io>",
13
13
  "license": "Apache-2.0",
14
14
  "homepage": "https://github.com/dacely-cloud/toilscript",
@@ -204,10 +204,15 @@ declare function collection(options: CollectionOptions): (target: Object, proper
204
204
  * compiler enforces the family x kind matrix (a `@query` calling `.patch` is a
205
205
  * compile error). */
206
206
  declare function query(target: Function): void;
207
+ declare function query(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<any>): void;
207
208
  declare function action(target: Function): void;
209
+ declare function action(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<any>): void;
208
210
  declare function job(target: Function): void;
211
+ declare function job(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<any>): void;
209
212
  declare function derive(target: Function): void;
213
+ declare function derive(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<any>): void;
210
214
  declare function admin(target: Function): void;
215
+ declare function admin(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<any>): void;
211
216
 
212
217
  // The ToilDB collection HANDLES are ambient globals (NO import, like the bignum
213
218
  // natives below) - the compiler provides them (`std/assembly/toildb`, `@global`);