Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

namirasoft-account

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

namirasoft-account - npm Package Compare versions

Comparing version 1.3.19 to 1.3.20

dist/row/UserCreateByGoogleRow.d.ts

11

dist/command/AccountLoginCommand.js

@@ -40,2 +40,10 @@ "use strict";

defaults: [(0, child_process_1.execSync)('hostname').toString().trim()]
},
{
name: "login",
short: "",
description: "Provides the value of 'login' in body",
optional: true,
args: ["login"],
defaults: ['.namirasoft.com']
}

@@ -53,3 +61,4 @@ ]);

device_os: this.option_values.device_os,
device_name: this.option_values.device_name
device_name: this.option_values.device_name,
domain: this.option_values.domain
});

@@ -56,0 +65,0 @@ this.app.storage.setNSAToken(res.value);

@@ -51,2 +51,10 @@ "use strict";

defaults: [""]
},
{
name: "domain",
short: "",
description: "Provides the value of 'domain' in body",
optional: true,
args: ["domain"],
defaults: [""]
}

@@ -68,3 +76,4 @@ ]);

device_name: this.option_values.device_name,
device_os: this.option_values.device_os
device_os: this.option_values.device_os,
domain: this.option_values.domain
});

@@ -71,0 +80,0 @@ this.app.logger.success(JSON.stringify(ans));

@@ -91,2 +91,10 @@ "use strict";

defaults: [""]
},
{
name: "domain",
short: "",
description: "Provides the value of 'domain' in body",
optional: true,
args: ["domain"],
defaults: [""]
}

@@ -113,3 +121,4 @@ ]);

device_name: this.option_values.device_name,
device_os: this.option_values.device_os
device_os: this.option_values.device_os,
domain: this.option_values.domain
});

@@ -116,0 +125,0 @@ this.app.logger.success(JSON.stringify(ans));

2

dist/index.d.ts

@@ -84,5 +84,5 @@ export * from "./NamirasoftAccountBaseHeader";

export * from "./row/SessionRow";
export * from "./row/UserCreateBygoogleRow";
export * from "./row/UserCreateByGoogleRow";
export * from "./row/UserCreateRow";
export * from "./row/UserRow";
export * from "./row/UserUpdateRow";

@@ -100,3 +100,3 @@ "use strict";

__exportStar(require("./row/SessionRow"), exports);
__exportStar(require("./row/UserCreateBygoogleRow"), exports);
__exportStar(require("./row/UserCreateByGoogleRow"), exports);
__exportStar(require("./row/UserCreateRow"), exports);

@@ -103,0 +103,0 @@ __exportStar(require("./row/UserRow"), exports);

@@ -7,3 +7,3 @@ "use strict";

constructor(manager, onError) {
super(`https://account.namirasoft.com/api/v1`, `1.3.19`, manager, onError);
super(`https://account.namirasoft.com/api/v1`, `1.3.20`, manager, onError);
}

@@ -10,0 +10,0 @@ }

import { NamirasoftAccountServerBase } from "./NamirasoftAccountServerBase";
import { NamirasoftAccountToken } from "./NamirasoftAccountToken";
import { UserCreateBygoogleRow } from "./row/UserCreateBygoogleRow";
import { UserCreateByGoogleRow } from "./row/UserCreateByGoogleRow";
import { UserCreateRow } from "./row/UserCreateRow";

@@ -10,3 +10,3 @@ import { UserRow } from "./row/UserRow";

Register(body: UserCreateRow): Promise<NamirasoftAccountToken>;
Google(body: UserCreateBygoogleRow): Promise<NamirasoftAccountToken>;
Google(body: UserCreateByGoogleRow): Promise<NamirasoftAccountToken>;
Cancel(): Promise<UserRow>;

@@ -13,0 +13,0 @@ Update(body: UserUpdateRow): Promise<UserRow>;

@@ -6,2 +6,3 @@ export type SessionLoginRow = {

device_os: string;
domain: (string | null);
};

@@ -11,2 +11,3 @@ export type UserCreateRow = {

device_os: string;
domain: (string | null);
};

@@ -11,3 +11,3 @@ {

"private": false,
"version": "1.3.19",
"version": "1.3.20",
"author": "Amir Abolhasani",

@@ -21,3 +21,3 @@ "license": "MIT",

"dependencies": {
"namirasoft-core": "^1.3.34",
"namirasoft-core": "^1.3.40",
"namirasoft-site": "^1.3.4",

@@ -24,0 +24,0 @@ "namirasoft-node-cli": "^1.3.8"

@@ -28,2 +28,10 @@ import os from 'os';

defaults: [execSync('hostname').toString().trim()]
},
{
name: "login",
short: "",
description: "Provides the value of 'login' in body",
optional: true,
args: ["login"],
defaults: ['.namirasoft.com']
}]);

@@ -40,3 +48,4 @@ }

device_os: this.option_values.device_os,
device_name: this.option_values.device_name
device_name: this.option_values.device_name,
domain: this.option_values.domain
});

@@ -43,0 +52,0 @@ this.app.storage.setNSAToken(res.value);

@@ -62,2 +62,10 @@ /****************************************************************/

defaults: [""]
},
{
name: "domain",
short: "",
description: "Provides the value of 'domain' in body",
optional: true,
args: ["domain"],
defaults: [""]
}

@@ -79,3 +87,4 @@ ]);

device_name: this.option_values.device_name,
device_os: this.option_values.device_os
device_os: this.option_values.device_os,
domain: this.option_values.domain
});

@@ -82,0 +91,0 @@ this.app.logger.success(JSON.stringify(ans));

@@ -102,2 +102,10 @@ /****************************************************************/

defaults: [""]
},
{
name: "domain",
short: "",
description: "Provides the value of 'domain' in body",
optional: true,
args: ["domain"],
defaults: [""]
}

@@ -124,3 +132,4 @@ ]);

device_name: this.option_values.device_name,
device_os: this.option_values.device_os
device_os: this.option_values.device_os,
domain: this.option_values.domain
});

@@ -127,0 +136,0 @@ this.app.logger.success(JSON.stringify(ans));

@@ -104,5 +104,5 @@ /****************************************************************/

export * from "./row/SessionRow";
export * from "./row/UserCreateBygoogleRow";
export * from "./row/UserCreateByGoogleRow";
export * from "./row/UserCreateRow";
export * from "./row/UserRow";
export * from "./row/UserUpdateRow";

@@ -28,4 +28,4 @@ /****************************************************************/

{
super(`https://account.namirasoft.com/api/v1`, `1.3.19`, manager, onError);
super(`https://account.namirasoft.com/api/v1`, `1.3.20`, manager, onError);
}
};

@@ -23,3 +23,3 @@ /****************************************************************/

import { NamirasoftAccountToken } from "./NamirasoftAccountToken";
import { UserCreateBygoogleRow } from "./row/UserCreateBygoogleRow";
import { UserCreateByGoogleRow } from "./row/UserCreateByGoogleRow";
import { UserCreateRow } from "./row/UserCreateRow";

@@ -44,3 +44,3 @@ import { UserRow } from "./row/UserRow";

}
async Google(body: UserCreateBygoogleRow): Promise<NamirasoftAccountToken>
async Google(body: UserCreateByGoogleRow): Promise<NamirasoftAccountToken>
{

@@ -47,0 +47,0 @@ let path = `/user/google`;

@@ -27,2 +27,3 @@ /****************************************************************/

device_os: string;
domain: (string | null);
}

@@ -32,2 +32,3 @@ /****************************************************************/

device_os: string;
domain: (string | null);
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc