@xyo-network/location-plugin 2.43.32 → 2.43.34

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.
@@ -4,8 +4,7 @@ import { createPayloadSetPlugin } from '@xyo-network/payloadset-plugin';
4
4
  import { CurrentLocationWitness } from './CurrentLocationWitness';
5
5
  export const LocationPlugin = () => createPayloadSetPlugin({ required: { [LocationSchema]: 1 }, schema: PayloadSetSchema }, {
6
6
  witness: async (params) => {
7
- const result = await CurrentLocationWitness.create(params);
8
- return result;
7
+ return await CurrentLocationWitness.create(params);
9
8
  },
10
9
  });
11
10
  //# sourceMappingURL=Plugin.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Plugin.js","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAA;AAErE,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,EAAE,sBAAsB,EAA2B,MAAM,gCAAgC,CAAA;AAGhG,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AAEjE,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE,CACjC,sBAAsB,CACpB,EAAE,QAAQ,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAC/D;IACE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE;QACxB,MAAM,MAAM,GAAG,MAAM,sBAAsB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;QAC1D,OAAO,MAAM,CAAA;IACf,CAAC;CACF,CACF,CAAA"}
1
+ {"version":3,"file":"Plugin.js","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAA;AAErE,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,EAAE,sBAAsB,EAA2B,MAAM,gCAAgC,CAAA;AAGhG,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AAEjE,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE,CACjC,sBAAsB,CACpB,EAAE,QAAQ,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAC/D;IACE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE;QACxB,OAAO,MAAM,sBAAsB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;IACpD,CAAC;CACF,CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAElD,OAAO,EAA0B,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AAKhG,eAAO,MAAM,cAAc;;;;;;;;;;;GASxB,CAAA"}
1
+ {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAElD,OAAO,EAA0B,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AAKhG,eAAO,MAAM,cAAc;;;;;;;;;;;GAQxB,CAAA"}
package/package.json CHANGED
@@ -11,15 +11,15 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@xylabs/assert": "^2.7.1",
14
- "@xyo-network/location-payload-plugin": "^2.43.32",
15
- "@xyo-network/module": "^2.43.32",
16
- "@xyo-network/payload-model": "^2.43.32",
17
- "@xyo-network/payloadset-plugin": "^2.43.32",
18
- "@xyo-network/witness": "^2.43.32"
14
+ "@xyo-network/location-payload-plugin": "^2.43.34",
15
+ "@xyo-network/module": "^2.43.34",
16
+ "@xyo-network/payload-model": "^2.43.34",
17
+ "@xyo-network/payloadset-plugin": "^2.43.34",
18
+ "@xyo-network/witness": "^2.43.34"
19
19
  },
20
20
  "devDependencies": {
21
- "@xylabs/ts-scripts-yarn3": "^2.14.3",
22
- "@xylabs/tsconfig-dom": "^2.14.3",
21
+ "@xylabs/ts-scripts-yarn3": "^2.14.13",
22
+ "@xylabs/tsconfig-dom": "^2.14.13",
23
23
  "typescript": "^4.9.5"
24
24
  },
25
25
  "description": "Primary SDK for using XYO Protocol 2.0",
@@ -55,5 +55,5 @@
55
55
  },
56
56
  "sideEffects": false,
57
57
  "types": "dist/types/index.d.ts",
58
- "version": "2.43.32"
58
+ "version": "2.43.34"
59
59
  }
package/src/Plugin.ts CHANGED
@@ -11,8 +11,7 @@ export const LocationPlugin = () =>
11
11
  { required: { [LocationSchema]: 1 }, schema: PayloadSetSchema },
12
12
  {
13
13
  witness: async (params) => {
14
- const result = await CurrentLocationWitness.create(params)
15
- return result
14
+ return await CurrentLocationWitness.create(params)
16
15
  },
17
16
  },
18
17
  )