@effect/sql-sqlite-wasm 4.0.0-beta.71 → 4.0.0-beta.73

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.
@@ -35,7 +35,7 @@ export interface SqliteClient extends Client.SqlClient {
35
35
  readonly updateValues: never;
36
36
  }
37
37
  /**
38
- * Context service tag for the SQLite WASM client.
38
+ * Service tag for the SQLite WASM client.
39
39
  *
40
40
  * @category tags
41
41
  * @since 4.0.0
@@ -81,16 +81,16 @@ export declare const makeMemory: (options: SqliteClientMemoryConfig) => Effect.E
81
81
  */
82
82
  export declare const make: (options: SqliteClientConfig) => Effect.Effect<SqliteClient, SqlError, Scope.Scope | Reactivity.Reactivity>;
83
83
  /**
84
- * Fiber-local list of transferables to include with worker-backed SQLite WASM query messages.
84
+ * Fiber reference that stores transferables to include with worker-backed SQLite WASM query messages.
85
85
  *
86
- * @category tranferables
86
+ * @category transferables
87
87
  * @since 4.0.0
88
88
  */
89
89
  export declare const Transferables: Context.Reference<readonly Transferable[]>;
90
90
  /**
91
91
  * Runs an effect with the supplied transferables attached to worker-backed SQLite WASM query messages.
92
92
  *
93
- * @category tranferables
93
+ * @category transferables
94
94
  * @since 4.0.0
95
95
  */
96
96
  export declare const withTransferables: (transferables: ReadonlyArray<Transferable>) => <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
@@ -60,7 +60,7 @@ const classifyError = (cause, message, operation) => classifySqliteError(cause,
60
60
  */
61
61
  export const TypeId = "~@effect/sql-sqlite-wasm/SqliteClient";
62
62
  /**
63
- * Context service tag for the SQLite WASM client.
63
+ * Service tag for the SQLite WASM client.
64
64
  *
65
65
  * @category tags
66
66
  * @since 4.0.0
@@ -332,9 +332,9 @@ function rowToObject(columns, row) {
332
332
  const extractObject = rows => rows[1].map(row => rowToObject(rows[0], row));
333
333
  const extractRows = rows => rows[1];
334
334
  /**
335
- * Fiber-local list of transferables to include with worker-backed SQLite WASM query messages.
335
+ * Fiber reference that stores transferables to include with worker-backed SQLite WASM query messages.
336
336
  *
337
- * @category tranferables
337
+ * @category transferables
338
338
  * @since 4.0.0
339
339
  */
340
340
  export const Transferables = /*#__PURE__*/Context.Reference("@effect/sql-sqlite-wasm/currentTransferables", {
@@ -343,7 +343,7 @@ export const Transferables = /*#__PURE__*/Context.Reference("@effect/sql-sqlite-
343
343
  /**
344
344
  * Runs an effect with the supplied transferables attached to worker-backed SQLite WASM query messages.
345
345
  *
346
- * @category tranferables
346
+ * @category transferables
347
347
  * @since 4.0.0
348
348
  */
349
349
  export const withTransferables = transferables => effect => Effect.provideService(effect, Transferables, transferables);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/sql-sqlite-wasm",
3
- "version": "4.0.0-beta.71",
3
+ "version": "4.0.0-beta.73",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "A SQLite toolkit for Effect",
@@ -44,11 +44,11 @@
44
44
  },
45
45
  "devDependencies": {
46
46
  "@effect/wa-sqlite": "^0.2.1",
47
- "effect": "^4.0.0-beta.71"
47
+ "effect": "^4.0.0-beta.73"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@effect/wa-sqlite": "^0.1.2",
51
- "effect": "^4.0.0-beta.71"
51
+ "effect": "^4.0.0-beta.73"
52
52
  },
53
53
  "scripts": {
54
54
  "codegen": "effect-utils codegen",
@@ -88,7 +88,7 @@ export interface SqliteClient extends Client.SqlClient {
88
88
  }
89
89
 
90
90
  /**
91
- * Context service tag for the SQLite WASM client.
91
+ * Service tag for the SQLite WASM client.
92
92
  *
93
93
  * @category tags
94
94
  * @since 4.0.0
@@ -473,9 +473,9 @@ const extractObject = (rows: [Array<string>, Array<any>]) => rows[1].map((row) =
473
473
  const extractRows = (rows: [Array<string>, Array<any>]) => rows[1]
474
474
 
475
475
  /**
476
- * Fiber-local list of transferables to include with worker-backed SQLite WASM query messages.
476
+ * Fiber reference that stores transferables to include with worker-backed SQLite WASM query messages.
477
477
  *
478
- * @category tranferables
478
+ * @category transferables
479
479
  * @since 4.0.0
480
480
  */
481
481
  export const Transferables = Context.Reference<ReadonlyArray<Transferable>>(
@@ -486,7 +486,7 @@ export const Transferables = Context.Reference<ReadonlyArray<Transferable>>(
486
486
  /**
487
487
  * Runs an effect with the supplied transferables attached to worker-backed SQLite WASM query messages.
488
488
  *
489
- * @category tranferables
489
+ * @category transferables
490
490
  * @since 4.0.0
491
491
  */
492
492
  export const withTransferables =