@medusajs/auth-emailpass 0.0.2-snapshot-20240925105124 → 0.0.2-snapshot-20240926160837

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ModuleProviderExports } from "@medusajs/types";
1
+ import { ModuleProviderExports } from "@medusajs/framework/types";
2
2
  declare const providerExport: ModuleProviderExports;
3
3
  export default providerExport;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAKvD,QAAA,MAAM,cAAc,EAAE,qBAErB,CAAA;AAED,eAAe,cAAc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA;AAKjE,QAAA,MAAM,cAAc,EAAE,qBAErB,CAAA;AAED,eAAe,cAAc,CAAA"}
@@ -1,5 +1,5 @@
1
- import { AuthenticationInput, AuthenticationResponse, AuthIdentityProviderService, EmailPassAuthProviderOptions, Logger } from "@medusajs/types";
2
- import { AbstractAuthModuleProvider } from "@medusajs/utils";
1
+ import { AuthenticationInput, AuthenticationResponse, AuthIdentityProviderService, EmailPassAuthProviderOptions, Logger } from "@medusajs/framework/types";
2
+ import { AbstractAuthModuleProvider } from "@medusajs/framework/utils";
3
3
  type InjectedDependencies = {
4
4
  logger: Logger;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"emailpass.d.ts","sourceRoot":"","sources":["../../src/services/emailpass.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EAEtB,2BAA2B,EAC3B,4BAA4B,EAC5B,MAAM,EACP,MAAM,iBAAiB,CAAA;AACxB,OAAO,EACL,0BAA0B,EAG3B,MAAM,iBAAiB,CAAA;AAGxB,KAAK,oB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AM,CAAA;gBAGvB,EAAE,MAAM,EAAE,EAAE,oBAAoB,EAChC,OAAO,EAAE,4BAA4B;cAUvB,YAAY,CAAC,QAAQ,EAAE,MAAM;IAMvC,MAAM,CACV,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EACzC,mBAAmB,EAAE,2BAA2B;;;;;;;;;;;;;cAmClC,kBAAkB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE;;;;KAAA;IAmBrE,YAAY,CAChB,QAAQ,EAAE,mBAAmB,EAC7B,mBAAmB,EAAE,2BAA2B,GAC/C,OAAO,CAAC,sBAAsB,CAAC;IA+D5B,QAAQ,CACZ,QAAQ,EAAE,mBAAmB,EAC7B,mBAAmB,EAAE,2BAA2B,GAC/C,OAAO,CAAC,sBAAsB,CAAC;CA2CnC"}
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.EmailPassAuthService = void 0;
7
- const utils_1 = require("@medusajs/utils");
7
+ const utils_1 = require("@medusajs/framework/utils");
8
8
  const scrypt_kdf_1 = __importDefault(require("scrypt-kdf"));
9
9
  class EmailPassAuthService extends utils_1.AbstractAuthModuleProvider {
10
10
  constructor({ logger }, options) {
@@ -1 +1 @@
1
- {"version":3,"file":"emailpass.js","sourceRoot":"","sources":["../../src/services/emailpass.ts"],"names":[],"mappings":";;;;;;AAQA,2CAIwB;AACxB,4DAA+B;AAQ/B,MAAa,oBAAqB,SAAQ,kCAA0B;IAIlE,YACE,EAAE,MAAM,EAAwB,EAChC,OAAqC;QAErC,KAAK,CACH,EAAE,EACF,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,+BAA+B,EAAE,CACxE,CAAA;QACD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAA;I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;oBACxD,KAAK;oBACL,QAAQ;oBACR,mBAAmB;iBACpB,CAAC,CAAA;gBAEF,OAAO;oBACL,OAAO,EAAE,IAAI;oBACb,YAAY,EAAE,mBAAmB;iBAClC,CAAA;YACH,CAAC;YAED,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,CAAA;QACjD,CAAC;IACH,CAAC;CACF;AA9LD,oDA8LC"}
@@ -0,0 +1 @@
1
+ {"root":["../src/index.ts","../src/services/emailpass.ts"],"version":"5.6.2"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/auth-emailpass",
3
- "version": "0.0.2-snapshot-20240925105124",
3
+ "version": "0.0.2-snapshot-20240926160837",
4
4
  "description": "Email and password credential authentication provider for Medusa",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -26,15 +26,19 @@
26
26
  "watch": "tsc --watch"
27
27
  },
28
28
  "devDependencies": {
29
- "cross-env": "^5.2.1",
29
+ "@medusajs/framework": "0.0.2-snapshot-20240926160837",
30
+ "@swc/core": "^1.7.28",
31
+ "@swc/jest": "^0.2.36",
30
32
  "jest": "^29.7.0",
31
33
  "rimraf": "^5.0.1",
32
34
  "typescript": "^5.6.2"
33
35
  },
34
36
  "dependencies": {
35
- "@medusajs/utils": "1.12.0-snapshot-20240925105124",
36
37
  "scrypt-kdf": "^2.0.1"
37
38
  },
39
+ "peerDependencies": {
40
+ "@medusajs/framework": "0.0.2-snapshot-20240926160837"
41
+ },
38
42
  "keywords": [
39
43
  "medusa-provider",
40
44
  "medusa-provider-auth-userpass"