@pax2pay/model-banking 0.1.435 → 0.1.436

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.
@@ -9,9 +9,9 @@ export interface Creatable {
9
9
  export namespace Creatable {
10
10
  export type Location = typeof Location.values[number]
11
11
  export namespace Location {
12
- export const values = ["east-north-america", "west-europe"] as const
12
+ export const values = ["north-east-america", "west-europe"] as const
13
13
  export function toCloudflare(value: Location): DurableObjectLocationHint {
14
- return value == "east-north-america" ? "enam" : "weur"
14
+ return value == "north-east-america" ? "enam" : "weur"
15
15
  }
16
16
  // All location hints: ["wnam", "enam", "sam", "weur", "eeur", "apac", "oc", "afr", "me"]
17
17
  export const type = isly.string(values)
@@ -7,9 +7,9 @@ export interface Creatable {
7
7
  export declare namespace Creatable {
8
8
  type Location = typeof Location.values[number];
9
9
  namespace Location {
10
- const values: readonly ["east-north-america", "west-europe"];
10
+ const values: readonly ["north-east-america", "west-europe"];
11
11
  function toCloudflare(value: Location): DurableObjectLocationHint;
12
- const type: isly.Type<"east-north-america" | "west-europe">;
12
+ const type: isly.Type<"north-east-america" | "west-europe">;
13
13
  }
14
14
  const type: import("isly/dist/cjs/object").IslyObject<Creatable, object>;
15
15
  }
@@ -3,9 +3,9 @@ export var Creatable;
3
3
  (function (Creatable) {
4
4
  let Location;
5
5
  (function (Location) {
6
- Location.values = ["east-north-america", "west-europe"];
6
+ Location.values = ["north-east-america", "west-europe"];
7
7
  function toCloudflare(value) {
8
- return value == "east-north-america" ? "enam" : "weur";
8
+ return value == "north-east-america" ? "enam" : "weur";
9
9
  }
10
10
  Location.toCloudflare = toCloudflare;
11
11
  Location.type = isly.string(Location.values);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.435",
3
+ "version": "0.1.436",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",