@riao/authn-password 1.0.0 → 1.0.1

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,5 +1,6 @@
1
- import { Migration } from '@riao/dbal';
2
- import { AuthMigrations } from '@riao/iam/auth/auth-migrations';
3
- export declare class AuthenticationPasswordMigrations extends AuthMigrations {
1
+ import { Migration, MigrationPackage } from '@riao/dbal';
2
+ export declare class AuthenticationPasswordMigrations extends MigrationPackage {
3
+ package: string;
4
+ name: string;
4
5
  getMigrations(): Promise<Record<string, typeof Migration<any>>>;
5
6
  }
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AuthenticationPasswordMigrations = void 0;
4
- const auth_migrations_1 = require("@riao/iam/auth/auth-migrations");
4
+ const dbal_1 = require("@riao/dbal");
5
5
  const _001_create_passwords_table_1 = require("./migrations/001-create-passwords-table");
6
- class AuthenticationPasswordMigrations extends auth_migrations_1.AuthMigrations {
6
+ class AuthenticationPasswordMigrations extends dbal_1.MigrationPackage {
7
+ package = '@riao/iam-authn-password';
8
+ name = '@riao/iam-authn-password';
7
9
  async getMigrations() {
8
10
  return {
9
- ...(await super.getMigrations()),
10
11
  'create-passwords-table': _001_create_passwords_table_1.CreatePasswordsTable,
11
12
  };
12
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"authentication-password-migrations.js","sourceRoot":"","sources":["../../src/authentication-password-migrations.ts"],"names":[],"mappings":";;;AACA,oEAAgE;AAChE,yFAA+E;AAE/E,MAAa,gCAAiC,SAAQ,gCAAc;IAC1D,KAAK,CAAC,aAAa;QAI3B,OAAO;YACN,GAAG,CAAC,MAAM,KAAK,CAAC,aAAa,EAAE,CAAC;YAChC,wBAAwB,EAAE,kDAAoB;SAC9C,CAAC;IACH,CAAC;CACD;AAVD,4EAUC"}
1
+ {"version":3,"file":"authentication-password-migrations.js","sourceRoot":"","sources":["../../src/authentication-password-migrations.ts"],"names":[],"mappings":";;;AAAA,qCAAyD;AACzD,yFAA+E;AAE/E,MAAa,gCAAiC,SAAQ,uBAAgB;IAC5D,OAAO,GAAG,0BAA0B,CAAC;IACrC,IAAI,GAAG,0BAA0B,CAAC;IAElC,KAAK,CAAC,aAAa;QAI3B,OAAO;YACN,wBAAwB,EAAE,kDAAoB;SAC9C,CAAC;IACH,CAAC;CACD;AAZD,4EAYC"}
package/index.d.ts CHANGED
@@ -1 +1,2 @@
1
- export { PasswordAuthentication } from './authentication-password';
1
+ export { PasswordAuthentication, PasswordAuthenticationOptions, } from './authentication-password';
2
+ export * from './password';
package/index.js CHANGED
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PasswordAuthentication = void 0;
4
+ const tslib_1 = require("tslib");
4
5
  var authentication_password_1 = require("./authentication-password");
5
6
  Object.defineProperty(exports, "PasswordAuthentication", { enumerable: true, get: function () { return authentication_password_1.PasswordAuthentication; } });
7
+ tslib_1.__exportStar(require("./password"), exports);
6
8
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,qEAAmE;AAA1D,iIAAA,sBAAsB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,qEAGmC;AAFlC,iIAAA,sBAAsB,OAAA;AAGvB,qDAA2B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riao/authn-password",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Password driver for Riao",
5
5
  "typescript-template": {
6
6
  "base": "1.0.1",