@internxt/sdk 1.27.0
“An sdk for interacting with Internxt's services”
Basename is uppercase README.mdDeclares TypeScript development dependency
SHA-2566a6fc72d524a3b07dd269cf65426b14de5db6e84b1b8621de0d922240dd1b838
Evidence
1# Getting Started
2
3## Installation
4
5- Create a `.npmrc` file from the `.npmrc.template` example provided in the repo.
6- Replace `TOKEN` with your own [Github Personal Access Token](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token) with `read:packages` permission **ONLY**
7- Use `yarn` to install project dependencies.
8
⋯4 lines
83:23… s: LoginDetails, cryptoProvider: CryptoProvider): Promise<paths['/auth/cli/login/access']['post']['responses']['200']['content']['application/json']>;
84 /**
85 * Tries to log in a user given its login details without sending keys
86 * @param details
87 * @param cryp …
160:13… m token
161 * @param password
162 * @param salt
163 * @param mnemonic
164 * @param keys
165 */
166 changePasswordWithLink(token: string | undefined, password: string, salt: string, mnemonic: string, keys?: PrivateKeys): Promise<void>;
167 /**
168 * Restore password with email link
169 * @param token
170 * @param p …
⋯6 lines
12}));
13var __exportStar = (this && this.__exportStar) || function(m, exports) {
14 for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15};
16Object.defineProperty(exports, "__esModule", { value: true });
17exports.Auth = void 0;
18const headers_1 = require("../shared/headers");
19const client_1 = require("../shared/http/client");
20__exportStar(require("./types"), exports);
21class Auth {
22 client;
⋯4 lines
37:22… rDetails
38 */
39 register(registerDetails) {
40 return this.client.post('/users', {
41 name: registerDetails.name,
42 captcha: registerDetails.captcha,
43 lastname: registerDetails …
Showing the top 5 files — 7 more files (49 regions) not shown.
No evidence locations were recorded for this file. Raw result