Skip to content

Commit 1238f74

Browse files
minor renaming
1 parent 7122868 commit 1238f74

File tree

8 files changed

+10
-11
lines changed

8 files changed

+10
-11
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
env:
5858
SOURCE_DIR: "./examples/vue-example/dist"
5959
AWS_REGION: "us-east-1"
60-
AWS_S3_BUCKET: "demo-openlogin.web3auth.io"
60+
AWS_S3_BUCKET: "demo-auth.web3auth.io"
6161
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
6262
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
6363

.npmignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ typings/
101101

102102

103103
examples/
104-
toruslabs-openlogin-*
105-
openlogin-*
106104
ssl/
107105
src/
108106
scripts/

.vscode/settings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"mimc",
1313
"mimcsponge",
1414
"mutex",
15-
"openlogin",
1615
"SECP",
1716
"sendemail",
1817
"Swappable",

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
> [Web3Auth](https://web3auth.io) is where passwordless auth meets non-custodial key infrastructure for Web3 apps and wallets. By aggregating OAuth (Google, Twitter, Discord) logins, different wallets and innovative Multi Party Computation (MPC) - Web3Auth provides a seamless login experience to every user on your application.
44
55
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
6-
![npm](https://img.shields.io/npm/dw/@web3auth/auth) |
6+
![npm](https://img.shields.io/npm/dw/@web3auth/auth) |
77

88
## Introduction
99

@@ -79,4 +79,6 @@ npm test
7979

8080
## License
8181

82-
`OpenLoginSdk` is [MIT Licensed](LICENSE)
82+
`AuthSdk` is [MIT Licensed](LICENSE)
83+
84+
TODO: fix demo app ci

src/core/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class Auth {
3333

3434
private currentStorage: BrowserStorage;
3535

36-
private _storageBaseKey = "openlogin_store";
36+
private _storageBaseKey = "auth_store";
3737

3838
private dappState: string;
3939

src/core/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { getLogger } from "loglevel";
22

3-
export const loglevel = getLogger("openlogin");
3+
export const loglevel = getLogger("auth");
44

55
loglevel.setLevel("error");

src/utils/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { TORUS_LEGACY_NETWORK, TORUS_SAPPHIRE_NETWORK } from "@toruslabs/constants";
22

3-
export const storeKey = "openlogin_store";
3+
export const storeKey = "auth_store";
44
export const WEB3AUTH_LEGACY_NETWORK = TORUS_LEGACY_NETWORK;
55
export const WEB3AUTH_SAPPHIRE_NETWORK = TORUS_SAPPHIRE_NETWORK;
66

test/starkey.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import { ec as starkEc, pedersen, sign, verify } from "@toruslabs/starkware-cryp
22
import { strictEqual } from "assert";
33

44
import { getStarkHDAccount, STARKNET_NETWORKS } from "../src/starkey/utils";
5-
const openloginPrivKey = "464482ca33a3bbc47278deab1f5b896a28d36fa509b65cde837f871f3253c5ba";
5+
const authPrivKey = "464482ca33a3bbc47278deab1f5b896a28d36fa509b65cde837f871f3253c5ba";
66

77
describe("stark key", function () {
88
it("#signing should be done using derived stark key", async function () {
99
// to derive hd account
10-
const accountKeyPair = getStarkHDAccount(openloginPrivKey, 1, STARKNET_NETWORKS.testnet);
10+
const accountKeyPair = getStarkHDAccount(authPrivKey, 1, STARKNET_NETWORKS.testnet);
1111

1212
// pre generated hex inputs for pedersen hash input.
1313
const testMessageHash = pedersen([

0 commit comments

Comments
 (0)