powersync 0.5.1 → 0.5.2
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/README.md
CHANGED
|
@@ -90,7 +90,7 @@ EXAMPLES
|
|
|
90
90
|
$ npx powersync init
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
_See code: [src/commands/init.ts](https://github.com/powersync-ja/cli/blob/v0.5.
|
|
93
|
+
_See code: [src/commands/init.ts](https://github.com/powersync-ja/cli/blob/v0.5.2/src/commands/init.ts)_
|
|
94
94
|
|
|
95
95
|
## `powersync instance config`
|
|
96
96
|
|
|
@@ -107,7 +107,7 @@ EXAMPLES
|
|
|
107
107
|
$ npx powersync instance config
|
|
108
108
|
```
|
|
109
109
|
|
|
110
|
-
_See code: [src/commands/instance/config.ts](https://github.com/powersync-ja/cli/blob/v0.5.
|
|
110
|
+
_See code: [src/commands/instance/config.ts](https://github.com/powersync-ja/cli/blob/v0.5.2/src/commands/instance/config.ts)_
|
|
111
111
|
|
|
112
112
|
## `powersync instance create`
|
|
113
113
|
|
|
@@ -136,7 +136,7 @@ EXAMPLES
|
|
|
136
136
|
$ npx powersync instance create
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
_See code: [src/commands/instance/create.ts](https://github.com/powersync-ja/cli/blob/v0.5.
|
|
139
|
+
_See code: [src/commands/instance/create.ts](https://github.com/powersync-ja/cli/blob/v0.5.2/src/commands/instance/create.ts)_
|
|
140
140
|
|
|
141
141
|
## `powersync instance deploy`
|
|
142
142
|
|
|
@@ -147,7 +147,7 @@ USAGE
|
|
|
147
147
|
$ npx powersync instance deploy [-n <value>] [-h <value>] [-w <value>] [-a <value>] [-o <value>] [-s] [-b]
|
|
148
148
|
|
|
149
149
|
FLAGS
|
|
150
|
-
-a, --jwtAudiences=<value>
|
|
150
|
+
-a, --jwtAudiences=<value> JWT audiences (comma separated).
|
|
151
151
|
-b, --[no-]useSupabaseAuth Use Supabase auth.
|
|
152
152
|
-h, --hostname=<value> Hostname to connect to database.
|
|
153
153
|
-n, --databaseName=<value> Name of the database.
|
|
@@ -162,7 +162,7 @@ EXAMPLES
|
|
|
162
162
|
$ npx powersync instance deploy
|
|
163
163
|
```
|
|
164
164
|
|
|
165
|
-
_See code: [src/commands/instance/deploy.ts](https://github.com/powersync-ja/cli/blob/v0.5.
|
|
165
|
+
_See code: [src/commands/instance/deploy.ts](https://github.com/powersync-ja/cli/blob/v0.5.2/src/commands/instance/deploy.ts)_
|
|
166
166
|
|
|
167
167
|
## `powersync instance destroy`
|
|
168
168
|
|
|
@@ -182,7 +182,7 @@ EXAMPLES
|
|
|
182
182
|
$ npx powersync instance destroy
|
|
183
183
|
```
|
|
184
184
|
|
|
185
|
-
_See code: [src/commands/instance/destroy.ts](https://github.com/powersync-ja/cli/blob/v0.5.
|
|
185
|
+
_See code: [src/commands/instance/destroy.ts](https://github.com/powersync-ja/cli/blob/v0.5.2/src/commands/instance/destroy.ts)_
|
|
186
186
|
|
|
187
187
|
## `powersync instance generate-dev-token`
|
|
188
188
|
|
|
@@ -203,7 +203,7 @@ EXAMPLES
|
|
|
203
203
|
$ npx powersync instance generate-dev-token
|
|
204
204
|
```
|
|
205
205
|
|
|
206
|
-
_See code: [src/commands/instance/generate-dev-token.ts](https://github.com/powersync-ja/cli/blob/v0.5.
|
|
206
|
+
_See code: [src/commands/instance/generate-dev-token.ts](https://github.com/powersync-ja/cli/blob/v0.5.2/src/commands/instance/generate-dev-token.ts)_
|
|
207
207
|
|
|
208
208
|
## `powersync instance schema`
|
|
209
209
|
|
|
@@ -220,7 +220,7 @@ EXAMPLES
|
|
|
220
220
|
$ npx powersync instance schema
|
|
221
221
|
```
|
|
222
222
|
|
|
223
|
-
_See code: [src/commands/instance/schema.ts](https://github.com/powersync-ja/cli/blob/v0.5.
|
|
223
|
+
_See code: [src/commands/instance/schema.ts](https://github.com/powersync-ja/cli/blob/v0.5.2/src/commands/instance/schema.ts)_
|
|
224
224
|
|
|
225
225
|
## `powersync instance set`
|
|
226
226
|
|
|
@@ -242,7 +242,7 @@ EXAMPLES
|
|
|
242
242
|
$ npx powersync instance set --instanceId=1234
|
|
243
243
|
```
|
|
244
244
|
|
|
245
|
-
_See code: [src/commands/instance/set.ts](https://github.com/powersync-ja/cli/blob/v0.5.
|
|
245
|
+
_See code: [src/commands/instance/set.ts](https://github.com/powersync-ja/cli/blob/v0.5.2/src/commands/instance/set.ts)_
|
|
246
246
|
|
|
247
247
|
## `powersync instance status`
|
|
248
248
|
|
|
@@ -267,7 +267,7 @@ EXAMPLES
|
|
|
267
267
|
$ npx powersync instance status --orgId=1234 --projectId=1234 --instanceId=1234 --authToken=1234
|
|
268
268
|
```
|
|
269
269
|
|
|
270
|
-
_See code: [src/commands/instance/status.ts](https://github.com/powersync-ja/cli/blob/v0.5.
|
|
270
|
+
_See code: [src/commands/instance/status.ts](https://github.com/powersync-ja/cli/blob/v0.5.2/src/commands/instance/status.ts)_
|
|
271
271
|
|
|
272
272
|
## `powersync instance stop`
|
|
273
273
|
|
|
@@ -287,7 +287,7 @@ EXAMPLES
|
|
|
287
287
|
$ npx powersync instance stop
|
|
288
288
|
```
|
|
289
289
|
|
|
290
|
-
_See code: [src/commands/instance/stop.ts](https://github.com/powersync-ja/cli/blob/v0.5.
|
|
290
|
+
_See code: [src/commands/instance/stop.ts](https://github.com/powersync-ja/cli/blob/v0.5.2/src/commands/instance/stop.ts)_
|
|
291
291
|
|
|
292
292
|
## `powersync instance sync-rules deploy`
|
|
293
293
|
|
|
@@ -312,7 +312,7 @@ EXAMPLES
|
|
|
312
312
|
$ npx powersync instance sync-rules deploy -f path/to/file
|
|
313
313
|
```
|
|
314
314
|
|
|
315
|
-
_See code: [src/commands/instance/sync-rules/deploy.ts](https://github.com/powersync-ja/cli/blob/v0.5.
|
|
315
|
+
_See code: [src/commands/instance/sync-rules/deploy.ts](https://github.com/powersync-ja/cli/blob/v0.5.2/src/commands/instance/sync-rules/deploy.ts)_
|
|
316
316
|
|
|
317
317
|
## `powersync instance sync-rules generate-schema`
|
|
318
318
|
|
|
@@ -338,7 +338,7 @@ EXAMPLES
|
|
|
338
338
|
$ npx powersync instance sync-rules generate-schema -f path/to/file
|
|
339
339
|
```
|
|
340
340
|
|
|
341
|
-
_See code: [src/commands/instance/sync-rules/generate-schema.ts](https://github.com/powersync-ja/cli/blob/v0.5.
|
|
341
|
+
_See code: [src/commands/instance/sync-rules/generate-schema.ts](https://github.com/powersync-ja/cli/blob/v0.5.2/src/commands/instance/sync-rules/generate-schema.ts)_
|
|
342
342
|
|
|
343
343
|
## `powersync instance sync-rules validate`
|
|
344
344
|
|
|
@@ -362,7 +362,7 @@ EXAMPLES
|
|
|
362
362
|
$ npx powersync instance sync-rules validate -f path/to/file
|
|
363
363
|
```
|
|
364
364
|
|
|
365
|
-
_See code: [src/commands/instance/sync-rules/validate.ts](https://github.com/powersync-ja/cli/blob/v0.5.
|
|
365
|
+
_See code: [src/commands/instance/sync-rules/validate.ts](https://github.com/powersync-ja/cli/blob/v0.5.2/src/commands/instance/sync-rules/validate.ts)_
|
|
366
366
|
|
|
367
367
|
## `powersync instances`
|
|
368
368
|
|
|
@@ -379,5 +379,5 @@ EXAMPLES
|
|
|
379
379
|
$ npx powersync instances
|
|
380
380
|
```
|
|
381
381
|
|
|
382
|
-
_See code: [src/commands/instances.ts](https://github.com/powersync-ja/cli/blob/v0.5.
|
|
382
|
+
_See code: [src/commands/instances.ts](https://github.com/powersync-ja/cli/blob/v0.5.2/src/commands/instances.ts)_
|
|
383
383
|
<!-- commandsstop -->
|
|
@@ -14,7 +14,7 @@ export default class InstanceDeploy extends Command {
|
|
|
14
14
|
databaseUsername: Flags.string({ char: 'u', description: 'Username of the database.', hidden: true }),
|
|
15
15
|
hostname: Flags.string({ char: 'h', description: 'Hostname to connect to database.' }),
|
|
16
16
|
jwksUri: Flags.string({ char: 'w', description: 'JWKS URI (must include https://).' }),
|
|
17
|
-
jwtAudiences: Flags.string({ char: 'a', description: '
|
|
17
|
+
jwtAudiences: Flags.string({ char: 'a', description: 'JWT audiences (comma separated).' }),
|
|
18
18
|
port: Flags.integer({ char: 'o', description: 'Port number to connect to database.' }),
|
|
19
19
|
skipInteraction: Flags.boolean({ char: 's', description: 'Skip interactivity.' }),
|
|
20
20
|
useSupabaseAuth: Flags.boolean({ allowNo: true, char: 'b', description: 'Use Supabase auth.' })
|
package/dist/commands.utils.js
CHANGED
|
@@ -78,7 +78,7 @@ export const generateCommonDeployQuestions = (flags) => [
|
|
|
78
78
|
when: !flags.jwksUri
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
|
-
message: 'Enter your
|
|
81
|
+
message: 'Enter your JWT Audiences? (comma separated)',
|
|
82
82
|
name: 'jwksAudiences',
|
|
83
83
|
type: 'input',
|
|
84
84
|
when: (answers) => answers.useAudiences
|
|
@@ -11157,7 +11157,7 @@ var files = [
|
|
|
11157
11157
|
"/dist",
|
|
11158
11158
|
"/oclif.manifest.json"
|
|
11159
11159
|
];
|
|
11160
|
-
var version = "0.5.
|
|
11160
|
+
var version = "0.5.2";
|
|
11161
11161
|
var bugs = "https://github.com/powersync-ja/cli/issues";
|
|
11162
11162
|
var types = "dist/index.d.ts";
|
|
11163
11163
|
var exports = "./lib/index.js";
|
|
@@ -17277,7 +17277,7 @@ var files = [
|
|
|
17277
17277
|
"/dist",
|
|
17278
17278
|
"/oclif.manifest.json"
|
|
17279
17279
|
];
|
|
17280
|
-
var version = "0.5.
|
|
17280
|
+
var version = "0.5.2";
|
|
17281
17281
|
var bugs = "https://github.com/powersync-ja/cli/issues";
|
|
17282
17282
|
var types$2 = "dist/index.d.ts";
|
|
17283
17283
|
var exports = "./lib/index.js";
|
package/dist/service/utils.js
CHANGED
package/oclif.manifest.json
CHANGED
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
},
|
|
237
237
|
"jwtAudiences": {
|
|
238
238
|
"char": "a",
|
|
239
|
-
"description": "
|
|
239
|
+
"description": "JWT audiences (comma separated).",
|
|
240
240
|
"name": "jwtAudiences",
|
|
241
241
|
"hasDynamicHelp": false,
|
|
242
242
|
"multiple": false,
|
|
@@ -633,5 +633,5 @@
|
|
|
633
633
|
]
|
|
634
634
|
}
|
|
635
635
|
},
|
|
636
|
-
"version": "0.5.
|
|
636
|
+
"version": "0.5.2"
|
|
637
637
|
}
|