@webiny/cognito 6.2.0-beta.0 → 6.3.0-beta.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 +1,4 @@
1
- export declare const CognitoApiFeature: import("@webiny/feature/api/createFeature.js").FeatureDefinition<unknown>;
1
+ export declare const CognitoApiFeature: {
2
+ name: string;
3
+ register(container: import("@webiny/di").Container): void;
4
+ };
@@ -1 +1,4 @@
1
- export declare const CognitoIdpFeature: import("@webiny/feature/api/createFeature.js").FeatureDefinition<unknown>;
1
+ export declare const CognitoIdpFeature: {
2
+ name: string;
3
+ register(container: import("@webiny/di").Container): void;
4
+ };
@@ -2,4 +2,7 @@ export type UserPoolConfig = {
2
2
  region: string;
3
3
  userPoolId: string;
4
4
  };
5
- export declare const CognitoServiceFeature: import("@webiny/feature/api/createFeature.js").FeatureDefinition<UserPoolConfig>;
5
+ export declare const CognitoServiceFeature: {
6
+ name: string;
7
+ register(container: import("@webiny/di").Container, context: UserPoolConfig): void;
8
+ };
@@ -1 +1 @@
1
- {"version":3,"names":["createFeature","CognitoService","CognitoConfig","CognitoServiceFeature","name","register","container","config","inSingletonScope","registerInstance"],"sources":["feature.ts"],"sourcesContent":["import { createFeature } from \"@webiny/feature/api\";\nimport { CognitoService } from \"./CognitoService.js\";\nimport { CognitoConfig } from \"./abstractions.js\";\n\nexport type UserPoolConfig = {\n region: string;\n userPoolId: string;\n};\n\nexport const CognitoServiceFeature = createFeature({\n name: \"cognitoService\",\n register(container, config: UserPoolConfig) {\n container.register(CognitoService).inSingletonScope();\n\n container.registerInstance(CognitoConfig, config);\n }\n});\n"],"mappings":"AAAA,SAASA,aAAa,QAAQ,qBAAqB;AACnD,SAASC,cAAc;AACvB,SAASC,aAAa;AAOtB,OAAO,MAAMC,qBAAqB,GAAGH,aAAa,CAAC;EAC/CI,IAAI,EAAE,gBAAgB;EACtBC,QAAQA,CAACC,SAAS,EAAEC,MAAsB,EAAE;IACxCD,SAAS,CAACD,QAAQ,CAACJ,cAAc,CAAC,CAACO,gBAAgB,CAAC,CAAC;IAErDF,SAAS,CAACG,gBAAgB,CAACP,aAAa,EAAEK,MAAM,CAAC;EACrD;AACJ,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["createFeature","CognitoService","CognitoConfig","CognitoServiceFeature","name","register","container","config","inSingletonScope","registerInstance"],"sources":["feature.ts"],"sourcesContent":["import { createFeature } from \"@webiny/feature/api\";\nimport { CognitoService } from \"./CognitoService.js\";\nimport { CognitoConfig } from \"./abstractions.js\";\n\nexport type UserPoolConfig = {\n region: string;\n userPoolId: string;\n};\n\nexport const CognitoServiceFeature = createFeature<UserPoolConfig>({\n name: \"cognitoService\",\n register(container, config) {\n container.register(CognitoService).inSingletonScope();\n\n container.registerInstance(CognitoConfig, config);\n }\n});\n"],"mappings":"AAAA,SAASA,aAAa,QAAQ,qBAAqB;AACnD,SAASC,cAAc;AACvB,SAASC,aAAa;AAOtB,OAAO,MAAMC,qBAAqB,GAAGH,aAAa,CAAiB;EAC/DI,IAAI,EAAE,gBAAgB;EACtBC,QAAQA,CAACC,SAAS,EAAEC,MAAM,EAAE;IACxBD,SAAS,CAACD,QAAQ,CAACJ,cAAc,CAAC,CAACO,gBAAgB,CAAC,CAAC;IAErDF,SAAS,CAACG,gBAAgB,CAACP,aAAa,EAAEK,MAAM,CAAC;EACrD;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -1 +1,4 @@
1
- export declare const CreateUserFeature: import("@webiny/feature/api/createFeature.js").FeatureDefinition<unknown>;
1
+ export declare const CreateUserFeature: {
2
+ name: string;
3
+ register(container: import("@webiny/di").Container): void;
4
+ };
@@ -1 +1,4 @@
1
- export declare const DeleteUserFeature: import("@webiny/feature/api/createFeature.js").FeatureDefinition<unknown>;
1
+ export declare const DeleteUserFeature: {
2
+ name: string;
3
+ register(container: import("@webiny/di").Container): void;
4
+ };
@@ -1 +1,4 @@
1
- export declare const UpdateUserFeature: import("@webiny/feature/api/createFeature.js").FeatureDefinition<unknown>;
1
+ export declare const UpdateUserFeature: {
2
+ name: string;
3
+ register(container: import("@webiny/di").Container): void;
4
+ };
@@ -1 +1,4 @@
1
- export declare const UserInstallerFeature: import("@webiny/feature/api/createFeature.js").FeatureDefinition<unknown>;
1
+ export declare const UserInstallerFeature: {
2
+ name: string;
3
+ register(container: import("@webiny/di").Container): void;
4
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/cognito",
3
- "version": "6.2.0-beta.0",
3
+ "version": "6.3.0-beta.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
@@ -9,21 +9,21 @@
9
9
  "author": "Webiny Ltd.",
10
10
  "dependencies": {
11
11
  "@apollo/react-hooks": "3.1.5",
12
- "@webiny/admin-ui": "6.2.0-beta.0",
13
- "@webiny/api-core": "6.2.0-beta.0",
14
- "@webiny/app": "6.2.0-beta.0",
15
- "@webiny/app-admin": "6.2.0-beta.0",
16
- "@webiny/aws-sdk": "6.2.0-beta.0",
12
+ "@webiny/admin-ui": "6.3.0-beta.0",
13
+ "@webiny/api-core": "6.3.0-beta.0",
14
+ "@webiny/app": "6.3.0-beta.0",
15
+ "@webiny/app-admin": "6.3.0-beta.0",
16
+ "@webiny/aws-sdk": "6.3.0-beta.0",
17
17
  "@webiny/di": "0.2.3",
18
- "@webiny/feature": "6.2.0-beta.0",
19
- "@webiny/form": "6.2.0-beta.0",
20
- "@webiny/handler-graphql": "6.2.0-beta.0",
21
- "@webiny/icons": "6.2.0-beta.0",
22
- "@webiny/project": "6.2.0-beta.0",
23
- "@webiny/project-aws": "6.2.0-beta.0",
24
- "@webiny/ui": "6.2.0-beta.0",
25
- "@webiny/validation": "6.2.0-beta.0",
26
- "aws-amplify": "6.16.3",
18
+ "@webiny/feature": "6.3.0-beta.0",
19
+ "@webiny/form": "6.3.0-beta.0",
20
+ "@webiny/handler-graphql": "6.3.0-beta.0",
21
+ "@webiny/icons": "6.3.0-beta.0",
22
+ "@webiny/project": "6.3.0-beta.0",
23
+ "@webiny/project-aws": "6.3.0-beta.0",
24
+ "@webiny/ui": "6.3.0-beta.0",
25
+ "@webiny/validation": "6.3.0-beta.0",
26
+ "aws-amplify": "6.16.4",
27
27
  "graphql": "16.13.2",
28
28
  "graphql-tag": "2.12.6",
29
29
  "jsonwebtoken": "9.0.3",
@@ -35,14 +35,14 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/react": "18.3.28",
38
- "@webiny/build-tools": "6.2.0-beta.0",
39
- "@webiny/project-utils": "6.2.0-beta.0",
40
- "@webiny/wcp": "6.2.0-beta.0",
38
+ "@webiny/build-tools": "6.3.0-beta.0",
39
+ "@webiny/project-utils": "6.3.0-beta.0",
40
+ "@webiny/wcp": "6.3.0-beta.0",
41
41
  "vitest": "4.1.4"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public",
45
45
  "directory": "dist"
46
46
  },
47
- "gitHead": "3d3148358b6febbc857371930871743bec3b3939"
47
+ "gitHead": "94c21e58aebc9855bf1ae972423281faa0f5c135"
48
48
  }