@things-factory/auth-ui 10.1.192 → 10.1.194

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/auth-ui",
3
- "version": "10.1.192",
3
+ "version": "10.1.194",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -45,5 +45,5 @@
45
45
  "base64url": "^3.0.1",
46
46
  "clipboard": "^2.0.6"
47
47
  },
48
- "gitHead": "c44fe3ae4646dc4ffad7947785322acdb84c7374"
48
+ "gitHead": "489dd836ae99063bfed6706367ea1d7cd7ed004a"
49
49
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"activate-page.test.js","sourceRoot":"","sources":["../../../client/entries/auth/activate-page.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAE3B;;;;;;;;;;GAUG;AAEH,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,aAAa,CAAC,EAAE,OAAO,CAAC,CAAA;AAElE,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IACjC,EAAE,CAAC,mDAAmD,EAAE,GAAG,EAAE;QAC3D,MAAM,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,0FAA0F,CAAC,CAAA;IACpH,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,iDAAiD,EAAE,GAAG,EAAE;QACzD,MAAM,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,2EAA2E,CAAC,CAAA;IACrG,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,iEAAiE,EAAE,GAAG,EAAE;QACzE,MAAM,CAAC,yGAAyG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACzI,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA","sourcesContent":["import { readFileSync } from 'fs'\nimport { join } from 'path'\n\n/**\n * The activate page says which of its two cases it is in.\n *\n * The server sends a locked account here as well as one not yet confirmed. The page said \"your\n * account is not activated\" to both and offered the activation mail to both. A locked person had\n * already been sent the unlock mail; the activation mail on top was a second, different way back,\n * and nothing on the page said why they were stopped.\n *\n * `auth-base/tests/activate-page-case.test.ts` holds the code the server sends; this holds what the\n * page does with it.\n */\n\nconst page = readFileSync(join(__dirname, 'activate.ts'), 'utf-8')\n\ndescribe('the activate page', () => {\n it('tells a locked account from one not yet confirmed', () => {\n expect(page).toContain(\"i18next.t(locked ? 'text.your account is locked' : 'text.your account is not activated')\")\n })\n\n it('tells a locked account the unlock mail has gone', () => {\n expect(page).toContain(\"${locked ? html`<p>${i18next.t('text.unlock email sent')}</p>` : nothing}\")\n })\n\n it('offers the activation mail only to an account not yet confirmed', () => {\n expect(/\\$\\{locked\\s*\\?\\s*nothing\\s*:\\s*html`\\s*<md-elevated-button @click=\\$\\{e => this\\.requestResend\\(e\\)\\}>/.test(page)).toBe(true)\n })\n})\n"]}