casualos 4.2.5-alpha.26538318498 → 4.2.5

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.
Files changed (2) hide show
  1. package/dist/cli.js +12 -16
  2. package/package.json +4 -4
package/dist/cli.js CHANGED
@@ -145211,7 +145211,7 @@ var trace = TraceAPI.getInstance();
145211
145211
  function hashLowEntropyPasswordWithSalt2(password, salt) {
145212
145212
  const tracer = trace.getTracer(
145213
145213
  "InstrumentedHashHelpers",
145214
- false ? void 0 : "v4.2.5-alpha.26538318498"
145214
+ false ? void 0 : "v4.2.5"
145215
145215
  );
145216
145216
  return tracer.startActiveSpan(
145217
145217
  "hashLowEntropyPasswordWithSalt",
@@ -145229,7 +145229,7 @@ function hashLowEntropyPasswordWithSalt2(password, salt) {
145229
145229
  function hashHighEntropyPasswordWithSalt2(password, salt) {
145230
145230
  const tracer = trace.getTracer(
145231
145231
  "InstrumentedHashHelpers",
145232
- false ? void 0 : "v4.2.5-alpha.26538318498"
145232
+ false ? void 0 : "v4.2.5"
145233
145233
  );
145234
145234
  return tracer.startActiveSpan(
145235
145235
  "hashHighEntropyPasswordWithSalt",
@@ -145247,7 +145247,7 @@ function hashHighEntropyPasswordWithSalt2(password, salt) {
145247
145247
  function verifyPasswordAgainstHashes2(password, salt, hashes) {
145248
145248
  const tracer = trace.getTracer(
145249
145249
  "InstrumentedHashHelpers",
145250
- false ? void 0 : "v4.2.5-alpha.26538318498"
145250
+ false ? void 0 : "v4.2.5"
145251
145251
  );
145252
145252
  return tracer.startActiveSpan(
145253
145253
  "verifyPasswordAgainstHashes",
@@ -152848,7 +152848,7 @@ function traced(tracerName, options = {}, metricOptions = {}) {
152848
152848
  }
152849
152849
  const tracer = trace.getTracer(
152850
152850
  tracerName,
152851
- false ? void 0 : "v4.2.5-alpha.26538318498"
152851
+ false ? void 0 : "v4.2.5"
152852
152852
  );
152853
152853
  return function(target, propertyKey, descriptor) {
152854
152854
  const originalMethod = descriptor.value;
@@ -152934,7 +152934,7 @@ function getHistogram(meter) {
152934
152934
  }
152935
152935
  return metrics.getMeter(
152936
152936
  meter.meter,
152937
- false ? void 0 : "v4.2.5-alpha.26538318498"
152937
+ false ? void 0 : "v4.2.5"
152938
152938
  ).createHistogram(meter.name, meter.options);
152939
152939
  }
152940
152940
  function getCounter(meter) {
@@ -152943,7 +152943,7 @@ function getCounter(meter) {
152943
152943
  }
152944
152944
  return metrics.getMeter(
152945
152945
  meter.meter,
152946
- false ? void 0 : "v4.2.5-alpha.26538318498"
152946
+ false ? void 0 : "v4.2.5"
152947
152947
  ).createCounter(meter.name, meter.options);
152948
152948
  }
152949
152949
  function traceHttpResponse(options = {}) {
@@ -159398,11 +159398,7 @@ var RecordsController = class {
159398
159398
  }
159399
159399
  }
159400
159400
  if (!request2.ownerId && !request2.studioId) {
159401
- return {
159402
- success: false,
159403
- errorCode: "unacceptable_request",
159404
- errorMessage: "You must provide an owner ID or a studio ID."
159405
- };
159401
+ request2.ownerId = request2.userId;
159406
159402
  }
159407
159403
  if (request2.ownerId) {
159408
159404
  if (request2.ownerId !== request2.userId) {
@@ -167148,7 +167144,7 @@ var RecordsServer = class {
167148
167144
  this._viewTemplateRenderer = viewTemplateRenderer;
167149
167145
  this._tracer = trace.getTracer(
167150
167146
  "RecordsServer",
167151
- false ? void 0 : "v4.2.5-alpha.26538318498"
167147
+ false ? void 0 : "v4.2.5"
167152
167148
  );
167153
167149
  this._purchasableItems = purchasableItemsController;
167154
167150
  this._procedures = this._createProcedures();
@@ -167885,7 +167881,7 @@ var RecordsServer = class {
167885
167881
  );
167886
167882
  return result;
167887
167883
  }),
167888
- createRecord: procedure().origins("account").http("POST", "/api/v2/records").inputs(
167884
+ createRecord: procedure().origins("self").http("POST", "/api/v2/records").inputs(
167889
167885
  external_exports.object({
167890
167886
  recordName: RECORD_NAME_VALIDATION,
167891
167887
  ownerId: external_exports.string({
@@ -171242,8 +171238,8 @@ var RecordsServer = class {
171242
171238
  return {
171243
171239
  success: true,
171244
171240
  ...metadata,
171245
- version: true ? "v4.2.5-alpha.26538318498" : void 0,
171246
- versionHash: true ? "d4ffef59a18e38c563f7d844f41d7d4782b78e1d" : void 0
171241
+ version: true ? "v4.2.5" : void 0,
171242
+ versionHash: true ? "24cab0ed3aa2328935914110b29fc5eacb3b44fb" : void 0
171247
171243
  };
171248
171244
  }),
171249
171245
  getPurchasableItem: procedure().origins(true).http("GET", "/api/v2/records/purchasableItems").inputs(
@@ -232989,7 +232985,7 @@ var config2 = new Conf({
232989
232985
  projectName: "casualos-cli"
232990
232986
  });
232991
232987
  var program2 = new Command();
232992
- program2.name("casualos").description("A CLI for CasualOS").version("v4.2.5-alpha.26538318498").option(
232988
+ program2.name("casualos").description("A CLI for CasualOS").version("v4.2.5").option(
232993
232989
  "-e, --endpoint <url>",
232994
232990
  "The endpoint to use for queries. Can be used to override the current endpoint."
232995
232991
  ).option(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "casualos",
3
- "version": "4.2.5-alpha.26538318498",
3
+ "version": "4.2.5",
4
4
  "description": "Command line interface for CasualOS.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "index.d.ts",
@@ -29,9 +29,9 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@casual-simulation/aux-common": "^4.2.3",
32
- "@casual-simulation/aux-records": "^4.2.5-alpha.26538318498",
33
- "@casual-simulation/aux-runtime": "^4.2.5-alpha.26538318498",
34
- "@casual-simulation/aux-vm": "^4.2.5-alpha.26538318498",
32
+ "@casual-simulation/aux-records": "^4.2.5",
33
+ "@casual-simulation/aux-runtime": "^4.2.5",
34
+ "@casual-simulation/aux-vm": "^4.2.5",
35
35
  "@octokit/app": "^15.1.0",
36
36
  "@octokit/auth-oauth-device": "^7.1.1",
37
37
  "@octokit/core": "^6.1.2",