@medusajs/region 0.1.2-snapshot-20240524111804 → 0.1.2-snapshot-20240527135519

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,7 @@ CREATE INDEX IF NOT EXISTS "IDX_region_deleted_at" ON "region" ("deleted_at") WH
27
27
  CREATE TABLE IF NOT EXISTS "region_country" (
28
28
  "iso_2" text NOT NULL,
29
29
  "iso_3" text NOT NULL,
30
- "num_code" int NOT NULL,
30
+ "num_code" text NOT NULL,
31
31
  "name" text NOT NULL,
32
32
  "display_name" text NOT NULL,
33
33
  "region_id" text NULL,
@@ -2,7 +2,7 @@ import Region from "./region";
2
2
  export default class Country {
3
3
  iso_2: string;
4
4
  iso_3: string;
5
- num_code: number;
5
+ num_code: string;
6
6
  name: string;
7
7
  display_name: string;
8
8
  region_id?: string | null;
@@ -39,8 +39,8 @@ __decorate([
39
39
  __metadata("design:type", String)
40
40
  ], Country.prototype, "iso_3", void 0);
41
41
  __decorate([
42
- (0, core_1.Property)({ columnType: "int" }),
43
- __metadata("design:type", Number)
42
+ (0, core_1.Property)({ columnType: "text" }),
43
+ __metadata("design:type", String)
44
44
  ], Country.prototype, "num_code", void 0);
45
45
  __decorate([
46
46
  (0, core_1.Property)({ columnType: "text" }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/region",
3
- "version": "0.1.2-snapshot-20240524111804",
3
+ "version": "0.1.2-snapshot-20240527135519",
4
4
  "description": "Medusa Region module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -48,9 +48,9 @@
48
48
  "typescript": "^5.1.6"
49
49
  },
50
50
  "dependencies": {
51
- "@medusajs/modules-sdk": "1.13.0-snapshot-20240524111804",
52
- "@medusajs/types": "1.12.0-snapshot-20240524111804",
53
- "@medusajs/utils": "1.12.0-snapshot-20240524111804",
51
+ "@medusajs/modules-sdk": "1.13.0-snapshot-20240527135519",
52
+ "@medusajs/types": "1.12.0-snapshot-20240527135519",
53
+ "@medusajs/utils": "1.12.0-snapshot-20240527135519",
54
54
  "@mikro-orm/core": "5.9.7",
55
55
  "@mikro-orm/migrations": "5.9.7",
56
56
  "@mikro-orm/postgresql": "5.9.7",