@paykit-sdk/medusajs 1.0.12 → 1.2.0

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.
@@ -1,6 +1,9 @@
1
1
  import { PaymentSessionStatus } from '@medusajs/framework/utils';
2
2
  import { PaymentStatus } from '@paykit-sdk/core';
3
3
 
4
- declare const medusaStatus$InboundSchema: (status: PaymentStatus) => PaymentSessionStatus;
4
+ /**
5
+ * @internal
6
+ */
7
+ declare const PaymentStatus$inboundSchema: (status: PaymentStatus) => PaymentSessionStatus;
5
8
 
6
- export { medusaStatus$InboundSchema };
9
+ export { PaymentStatus$inboundSchema };
@@ -1,6 +1,9 @@
1
1
  import { PaymentSessionStatus } from '@medusajs/framework/utils';
2
2
  import { PaymentStatus } from '@paykit-sdk/core';
3
3
 
4
- declare const medusaStatus$InboundSchema: (status: PaymentStatus) => PaymentSessionStatus;
4
+ /**
5
+ * @internal
6
+ */
7
+ declare const PaymentStatus$inboundSchema: (status: PaymentStatus) => PaymentSessionStatus;
5
8
 
6
- export { medusaStatus$InboundSchema };
9
+ export { PaymentStatus$inboundSchema };
@@ -3,7 +3,7 @@
3
3
  var utils = require('@medusajs/framework/utils');
4
4
 
5
5
  // src/utils/mapper.ts
6
- var medusaStatus$InboundSchema = (status) => {
6
+ var PaymentStatus$inboundSchema = (status) => {
7
7
  switch (status) {
8
8
  case "pending":
9
9
  case "processing":
@@ -23,4 +23,4 @@ var medusaStatus$InboundSchema = (status) => {
23
23
  }
24
24
  };
25
25
 
26
- exports.medusaStatus$InboundSchema = medusaStatus$InboundSchema;
26
+ exports.PaymentStatus$inboundSchema = PaymentStatus$inboundSchema;
@@ -1,7 +1,7 @@
1
1
  import { PaymentSessionStatus } from '@medusajs/framework/utils';
2
2
 
3
3
  // src/utils/mapper.ts
4
- var medusaStatus$InboundSchema = (status) => {
4
+ var PaymentStatus$inboundSchema = (status) => {
5
5
  switch (status) {
6
6
  case "pending":
7
7
  case "processing":
@@ -21,4 +21,4 @@ var medusaStatus$InboundSchema = (status) => {
21
21
  }
22
22
  };
23
23
 
24
- export { medusaStatus$InboundSchema };
24
+ export { PaymentStatus$inboundSchema };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paykit-sdk/medusajs",
3
- "version": "1.0.12",
3
+ "version": "1.2.0",
4
4
  "description": "MedusaJS Integrations for Paykit",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -15,6 +15,9 @@
15
15
  "files": [
16
16
  "dist"
17
17
  ],
18
+ "paykit": {
19
+ "type": "adapter"
20
+ },
18
21
  "scripts": {
19
22
  "build": "tsup"
20
23
  },
@@ -29,7 +32,7 @@
29
32
  "packageManager": "pnpm@10.13.1",
30
33
  "peerDependencies": {
31
34
  "@medusajs/framework": ">=2.10.3",
32
- "@paykit-sdk/core": ">=1.1.100"
35
+ "@paykit-sdk/core": ">=1.2.0"
33
36
  },
34
37
  "devDependencies": {
35
38
  "@medusajs/framework": "^2.10.3",