open-index/open-npm huggingface dataset:
npm package: @magic-change/rn-oss
Description: for alioss
Author: zhengyiming
Latest version: 0.1.1

# rn-aliyun-oss

for alioss

## Installation
没有上传到npm服务器上，只能在package.json 指定代码路径
```sh
"rn-aliyun-oss":"git@github.com/sunny635533/rn-aliyun-oss.git"
```

## Usage

```js
import { NativeModules } from 'react-native';
import { Tools } from '../utils/All';
import md5 from 'js-md5';

// const OssModule = NativeModules.Oss;

import AliyunOss from "rn-aliyun-oss";

const defaultConfig = {
  configuration: {
    maxRetryCount: 1,//请求最大次数
    timeoutIntervalForRequest: 30,//请求超时时间，单位秒
    timeoutIntervalForResource: 24 * 60 * 60,//传输最大时间，单位秒
  },
  accessKey: 'xxxxxxx',
  secretKey: 'xxxxxxxxxxxxxxxxxxxxx',
  bucketName: 'ibooming',
  endPoint: "https://xxxx.aliyuncs.com",
};

/**
 * 阿里云的服务的文件处理
 */
export default class OssBusiness {
  config = defaultConfig;

  constructor(props) {
    this.initWithAppKey();
  }

  initWithAppKey() {
    AliyunOss.initWithAppKey(this.config.accessKey, this.config.secretKey, this.config.endPoint, this.config.configuration);
  }

  getOssFileUrl(path) {
    return "https://oss.xxxx.yun/" + path;
  }

  createOssPath(type = 0, filePath, ossBasePath = "app/") {
    const nowDate = Tools.getCurrentTimeStr("yyyyMMDD");
    let dirPath = ""
    if (type == 0) {
      dirPath = "images/community/";
    } else {
      dirPath = "videos/community/";
    }
    let fileType = "";
    const lastIndex = filePath.lastIndexOf(".");
    if (lastIndex > -1) {
      fileType = filePath.substring(lastIndex);
    }
    //文件名称，用文件完整路径+时间戳
    const dateStr = new Date().getTime();
    const fileName = md5(filePath + dateStr) + fileType;
    const path = ossBasePath + dirPath + nowDate + "/" + fileName
    console.log("==== createOssPath ====filePath: " + filePath + "    path: " + path);
    return path;
  }

  /**
   * Asynchronously uploading
   */
  asyncUpload(input) {
    return AliyunOss.asyncUpload(this.config.bucketName, input.objectKey, input.filepath);
  }

}

```
上传进度：
```
subscription = null;//上传进度的事件

//上传进度
  addProgressListener() {
    if (!this.subscription) {//如果没有监听过，需要注册
      const eventEmitter = new NativeEventEmitter(NativeModules.Oss);
      this.subscription = eventEmitter.addListener(
        'uploadProgress',
        (res) => {//{"currentSize": "153600", "totalSize": "155416","filePath":""}
})
}
 componentWillUnmount() {
    this.subscription && this.subscription.remove();
    this.subscription = null;
  }
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT
npm package: @magic-circle/colors
Description: Magic Circle color library
Author: Davey van der Woert
Latest version: 0.0.7
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @CreativeControls/Colors
Helper for handling colors used internally by the editor.

## Example
```js
import Color from '@magic-circle/colors';

const red = new Color('#ff0000');
console.log(red.toObject());
// output: {r: 255, g: 255, b: 255}
```
npm package: @magic-circle/controls
Description: Magic Circle default controls
Author: Davey van der Woert
Latest version: 0.3.2

# @CreativeControls/Controls
Displays the sidebar with controls.

## Settings
```js
module.exports = {
  // Part of the default plugins
  plugins: defaultPlugins => [...defaultPlugins],

  // Enables users to load custom controls
  controls: defaultControls => [...defaultControls],
}
```
npm package: @magic-circle/debug
Description: Magic Circle debug tools
Author: Davey van der Woert
Latest version: 0.0.7
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @CreativeControls/Debug
Enables the app to be debugged.

## Settings
```js
import Fullscreen from '@magic-circle/debug';

module.exports = {
  plugins: defaultPlugins => [...defaultPlugins, Debug],
  debug: {

    // Displays button in editor
    button: true,

    // Enables the user to see the debug
    editor: true,

    // Displays the current git state in the menu bar
    gitInfo: true,
  }
  ...
}
```
npm package: @magic-circle/fullscreen
Description: Magic Circle fullscreen
Author: Davey van der Woert
Latest version: 0.0.7
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @CreativeControls/Fullscreen
Enables the app to run in fullscreen

## Settings
```js
module.exports = {
  fullscreen: {

    // button triggers fullscreen of [editor/window]
    button: 'editor',

    // full screen on startup
    startup: false,

    // enables full screen for frame
    frame: true,

    // enables full screen for editor
    editor: true,
  }
}
```
npm package: @magic-circle/midi
Description: Magic Circle midi
Author: Davey van der Woert
Latest version: 0.1.3

# @CreativeControls/Screenshots
Enables the editor to save screenshots including a snapshot of the app's current state, this snapshot can then be restored at a later time.

## Settings
```js
import path from 'path';

module.exports = {
  screenshots: {

    // Place to save screenshots
    path: path.join(__dirname, 'screenshots'),

    // Save the current git state into the snapshop
    gitInfo: true,
  }
}
```
npm package: @magic-circle/play-controls
Description: Magic Circle play controls
Author: Davey van der Woert
Latest version: 0.3.2

# @CreativeControls/PlayControls

Creates controls letting the user play, pause and reload the page.

## Settings

```js
module.exports = {
  playControls: {
    // Show a button that allows a user to fullscreen the frame
    fullscreen: false,
  },
};
```
npm package: @magic-circle/recordings
Description: Magic Circle screen recordings
Author: Davey van der Woert
Latest version: 0.3.2

# @CreativeControls/Recordings

Enables the editor to record a movie out by taking a series of screenshots.

## FFMPEG

To convert a sequence of png's to a movie _FFMPEG_ can be used.  
To install FFMPEG on OSX:

```sh
brew update
brew install ffmpeg
```

## Settings

```js
module.exports = {
  recordings: {
    fps: [12, 24, 25, 30, 60],
  },
};
```
npm package: @magic-circle/screenshots
Description: Magic Circle screenshots
Author: Davey van der Woert
Latest version: 0.3.2

# @CreativeControls/Screenshots

Enables the editor to save screenshots including a snapshot of the app's current state, this snapshot can then be restored at a later time.

## Settings

```js
module.exports = {
  screenshots: {
    // Save the current git state into the snapshot
    gitInfo: true,

    // Use a different directory if the URL of the frame changes
    directoryBasedOnFrameUrl: false,
  },
};
```
npm package: @magic-circle/seed
Description: Magic Circle seed manangement
Author: Davey van der Woert
Latest version: 0.3.2

# @CreativeControls/PlayControls
Creates a random seed number per refresh, so random numbers can be handled in a deterministic (and replicable) way [read more](https://en.wikipedia.org/wiki/Random_seed).

## Settings
No settings for this plugin
npm package: @magic-circle/touchbar
Description: Magic Circle touchbar support for macbook pro
Author: Davey van der Woert
Latest version: 0.0.7
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @CreativeControls/PlayControls
Displays information on a Macbook Pro Touchbar.

## Settings
No settings for this plugin
npm package: @magic-color/transformer
Description: Magic color transform library
Author: Chris
Latest version: 2.2.4

# @magic-color/transformer

Magic color transform library.

## Install

```bash
pnpm add @magic-color/transformer
```

## Supported Types

- RGB
- HEX
- HSL
- HSB
- LAB
- LCH
- OKLCH
- OKLAB

## License

[MIT](../../LICENSE)
npm package: @magic-color/vue
Description: Magic color vue component.
Author: Chris
Latest version: 2.2.4

# @magic-color/vue

Magic color vue component.

## Install

```bash
pnpm add @magic-color/vue
```

## Usage

```ts
import { PalettePlugin } from '@magic-color/vue'
import { createApp } from 'vue'

const app = createApp(App)
app.use(PalettePlugin)
```

Or import components directly:

```ts
import { Palette } from '@magic-color/vue'
```

## License

[MIT](../../LICENSE)
npm package: @magic-css/magicbutton
Description: MagicButton From MagicCSS
Author: Adam Dardour
Latest version: 1.0.2

# MagicCSS/MagicButton

![Screenshot 2024-05-09 173935](https://github.com/floki1250/MagicButton/assets/37814393/5e2d938a-e3e6-4ab2-87da-71535fdef71d)
![Screenshot 2024-05-09 173915](https://github.com/floki1250/MagicButton/assets/37814393/04b6a5ff-9cb0-45c7-9b17-d9cddf664302)

## Installation


```bash
  npm install @magic-css/magicbutton
```
    
## Usage/Examples

```vue
<MButton color="color"  icon="icon" />
```

- color :  hex color default black
- icon : icon from [Iconify.design](https://icon-sets.iconify.design/) with format collection/icon-name
```

- color :  hex color default black
- icon : icon from [Iconify.design](https://icon-sets.iconify.design/) with format collection/icon-name

## Examples

```vue
<MButton color="#1427cf" icon="heroicons/chevron-left" />
```


## Authors

- [@floki1250](https://github.com/floki1250)
- [adamdar.dev](https://adamdar.vercel.app/)

## Examples

```vue
<MButton color="#1427cf" icon="heroicons/chevron-left" />
```


## Authors

- [@floki1250](https://github.com/floki1250)
- [adamdar.dev](https://adamdar.vercel.app/)
npm package: @magic-cube/sh-stf
Description: 上恒样品管理系统
Latest version: 0.0.1

## 上恒实验室样品管理系统

## version
  - 1.0.0


## update log
  - 2022-03-11: 初始版本
  - 2022-03-16: 完成业务表单建立
  - 2022-03-16: update sh-stf-app
  - 2022-03-17: 添加评审流程, 内嵌监控程序
  - 2022-03-17: 添加 '/api/hack/session' router
  - 2022-03-20: 添加 '/api/hack/timeline' router
  - 2022-03-21: fix bug
  - 2022-03-28: 项目名称选择
  - 2022-03-28: 自动带出客户名称
  - 2022-03-28: 评审人员默认值
  - 2022-03-28: 自动带出规格
  - 2022-03-31: fix bug
  - 2022-05-05: fix timeline
  - 2022-07-11: feat: monitor add reload
  - 2022-07-23: feat: 添加项目编号
  - 2022-07-29: feat: 调整时间线 审批指定人
  - 2022-08-04: feat: approve
  - 2022-08-12: feat: 客户端添加审核
  - 2022-10-14: feat: 加入项目进度图(模拟)
npm package: @magic-ext/algorand
Description: magic algorand extension
Author: Magic
Latest version: 28.5.3

# Magic Extension Algorand Blockchain

## Installation
```bash
npm i magic-sdk @magic-ext/algorand
```
## Setup
Setup AlgorandExtension with magic-sdk
```js

import { Magic } from 'magic-sdk';
import { AlgorandExtension } from '@magic-ext/algorand';

const magic = new Magic('YOUR_API_KEY', {
    extensions: [
        new AlgorandExtension({
            rpcUrl: 'algorand rpc url'
        })
    ]
});

// or 

const magic = new Magic('YOUR_API_KEY', {
    extensions: {
        algorand: new AlgorandExtension({
            rpcUrl: 'algorand rpc url'
        })
    }
});

```

## Magic SDK
See the [developer documentation](https://magic.link/docs) to learn how you can master the Magic SDK in a matter of minutes.


## Usage

### Get Wallet
Using getWallet function to get Algorand public address for current user.

```js
const publicAddress = await magic.algorand.getWallet();
console.log('algorand public address', publicAddress);
```

### Sign Transaction
By passing txnObj instance to `magic.algorand.signTransaction()` method, it will automatically sign the transaction with current user and
generate transaction object including signature.
```js
      const txn = {
          "to": "7ZUECA7HFLZTXENRV24SHLU4AVPUTMTTDUFUBNBD64C73F3UHRTHAIOF6Q",
          "fee": 10,
          "amount": 50,
          "firstRound": 51,
          "lastRound": 61,
          "genesisID": "devnet-v33.0",
          "genesisHash": "JgsgCaCTqIaLeVhyL6XlRu3n7Rfk2FxMeK+wRSaQ7dI=",
          "closeRemainderTo": "IDUTJEUIEVSMXTU4LGTJWZ2UE2E6TIODUKU6UW3FU3UKIQQ77RLUBBBFLA",
          "note": new Uint8Array(Buffer.from("6gAVR0Nsv5Y=", "base64"))
      };

      const tx = await magic.algorand.signTransaction(txn);

      console.log('signed transaction', tx)
```

### Sign Bid
By passing txnObj instance to `magic.algorand.signBid()` method, it will automatically sign the bid with current user and
generate transaction object including signature.
 ```js
          const bid = {
              "bidderKey": "IB3NJALXLDX5JLYCD4TMTMLVCKDRZNS4JONHMIWD6XM7DSKYR7MWHI6I7U",
              "auctionKey": "7ZUECA7HFLZTXENRV24SHLU4AVPUTMTTDUFUBNBD64C73F3UHRTHAIOF6Q",
              "bidAmount": 1000,
              "maxPrice": 10,
              "bidID": 2,
              "auctionID": 56
          };

          const tx = await magic.algorand.signBid(bid);

          console.log('send bid', tx)
 ```
npm package: @magic-ext/oauth
Description: Magic SDK OAuth Extension for Web environments.
Author: Magic
Latest version: 24.0.0
Deprecated: This package is deprecated. Please use @magic-ext/oauth2 instead.

# 🔒 Magic OAuth Extension for Web Browsers

> We suggest use OAUTH2 `@magic-ext/oauth2` package for the best performance

[![<MagicLabs>](https://circleci.com/gh/magiclabs/magic-js.svg?style=shield)](https://circleci.com/gh/magiclabs/magic-js)

> With the Magic JavaScript SDK OAuth extension, you can plug into your favorite social login providers with one, easy-to-use API.

<p align="center">
  <a href="https://github.com/magiclabs/magic-js/blob/master/packages/@magic-ext/oauth/LICENSE">License</a> ·
  <a href="https://github.com/magiclabs/magic-js/blob/master/packages/@magic-ext/oauth/CHANGELOG.md">Changelog</a> ·
  <a href="https://github.com/magiclabs/magic-js/blob/master/CONTRIBUTING.md">Contributing Guide</a>
</p>

## 📖 Documentation

See the [developer documentation](https://magic.link/docs/authentication/login/social-logins/oauth-implementation) to learn how to get started with OAuth in Magic SDK.

## 🔗 Installation

Integrating your app with OAuth will require our client-side NPM package and OAuth extension:

```bash
# Via NPM:
npm install --save magic-sdk @magic-ext/oauth

# Via Yarn:
yarn add magic-sdk @magic-ext/oauth
```

Alternatively, you can load via CDN with by adding a script tag to your app’s `<head>`:

```html
<script src="https://cdn.jsdelivr.net/npm/magic-sdk/dist/magic.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@magic-ext/oauth/dist/extension.js"></script>
```

## ⚡️ Quick Start

Sign up or log in to the [developer dashboard](https://dashboard.magic.link) to receive API keys that will allow your application to interact with Magic's authentication APIs.

Then, you can start authenticating users with _just two method calls!_

From your login page:

```ts
import { Magic } from 'magic-sdk';
import { OAuthExtension } from '@magic-ext/oauth';

const magic = new Magic('YOUR_API_KEY', {
  extensions: [new OAuthExtension()]
});

await magic.oauth.loginWithRedirect({
  provider: 'google' | 'facebook' | 'github' | ...
});
```

From your OAuth callback page:

```ts
import { Magic } from 'magic-sdk';
import { OAuthExtension } from '@magic-ext/oauth';

const magic = new Magic('YOUR_API_KEY', {
  extensions: [new OAuthExtension()]
});

const res = await magic.oauth.getRedirectResult();

// Then you can access a user's Magic DID token, OAuth access token,
// OpenID Connect profile information, and more!
res.magic.idToken;
res.oauth.accessToken;
res.oauth.userInfo;
```
npm package: @magic-ext/oauth2
Description: Magic SDK OAuth Extension for Web environments.
Author: Magic
Latest version: 15.5.3

# 🔒 Magic OAuth Extension for Web Browsers

[![<MagicLabs>](https://circleci.com/gh/magiclabs/magic-js.svg?style=shield)](https://circleci.com/gh/magiclabs/magic-js)

> With the Magic JavaScript SDK OAuth 2 extension, you can plug into your favorite social login providers with one, easy-to-use API.

<p align="center">
  <a href="https://github.com/magiclabs/magic-js/blob/master/packages/@magic-ext/oauth2/LICENSE">License</a> ·
  <a href="https://github.com/magiclabs/magic-js/blob/master/packages/@magic-ext/oauth2/CHANGELOG.md">Changelog</a> ·
  <a href="https://github.com/magiclabs/magic-js/blob/master/CONTRIBUTING.md">Contributing Guide</a>
</p>

## 📖 Documentation

See the [developer documentation](https://magic.link/docs/social-login) to learn how to get started with OAuth in Magic SDK.

## 🔗 Installation

Integrating your app with OAuth will require our client-side NPM package and OAuth 2 extension:

```bash
# Via NPM:
npm install --save magic-sdk @magic-ext/oauth2

# Via Yarn:
yarn add magic-sdk @magic-ext/oauth2
```

Alternatively, you can load via CDN with by adding a script tag to your app’s `<head>`:

```html
<script src="https://cdn.jsdelivr.net/npm/magic-sdk/dist/magic.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@magic-ext/oauth2/dist/extension.js"></script>
```

## ⚡️ Quick Start

Sign up or log in to the [developer dashboard](https://dashboard.magic.link) to receive API keys that will allow your application to interact with Magic's authentication APIs.

Then, you can start authenticating users with _just two method calls!_

From your login page:

```ts
import { Magic } from 'magic-sdk';
import { OAuthExtension } from '@magic-ext/oauth2';

const magic = new Magic('YOUR_API_KEY', {
  extensions: [new OAuthExtension()]
});

await magic.oauth2.loginWithRedirect({
  provider: 'google' | 'facebook' | 'github' | ...
});
```

From your OAuth callback page:

```ts
import { Magic } from 'magic-sdk';
import { OAuthExtension } from '@magic-ext/oauth2';

const magic = new Magic('YOUR_API_KEY', {
  extensions: [new OAuthExtension()],
});

const res = await magic.oauth2.getRedirectResult();

// Then you can access a user's Magic DID token, OpenID Connect profile information, and more!
res.magic.idToken;
res.oauth.userInfo;
```
npm package: @magic-ext/oidc
Description: Magic OIDC SDK Extension for Web environments.
Author: Magic
Latest version: 16.5.3

# 🔒 Magic Open Id Connect for Web Browsers

[![<MagicLabs>](https://circleci.com/gh/magiclabs/magic-js.svg?style=shield)](https://circleci.com/gh/magiclabs/magic-js)

> Magic Open Id Connect JavaScript SDK extension.

<p align="center">
  <a href="https://github.com/magiclabs/magic-js/blob/master/packages/@magic-ext/oidc/LICENSE">License</a> ·
  <a href="https://github.com/magiclabs/magic-js/blob/master/packages/@magic-ext/oidc/CHANGELOG.md">Changelog</a> ·
  <a href="https://github.com/magiclabs/magic-js/blob/master/CONTRIBUTING.md">Contributing Guide</a>
</p>

## 📖 Documentation

TODO once docs links are active.

## 🔗 Installation

Integrating your app with Magic will require our client-side NPM package and the OIDC extension:

```bash
# Via NPM:
npm install --save magic-sdk @magic-ext/oidc

# Via Yarn:
yarn add magic-sdk @magic-ext/oidc
```

Alternatively, you can load via CDN with by adding a script tag to your app’s `<head>`:

```html
<script src="https://cdn.jsdelivr.net/npm/magic-sdk/dist/magic.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@magic-ext/oidc/dist/extension.js"></script>
```

## ⚡️ Quick Start

Sign up or log in to the [developer dashboard](https://dashboard.magic.link) to receive API keys that will allow your application to interact with Magic's APIs.

Request access to this feature sending the API key you want enabled to our customer support.

From your login page:

```ts
import Web3 from 'web3';
import { Magic } from 'magic-sdk';
import { OpenIdExtension } from '@magic-ext/oidc';

const magic = new Magic('YOUR_API_KEY', {
  extensions: [new OpenIdExtension()],
  network: 'mainnet', // 'mainnet' or 'testnet'
});

const DID = await magic.openid.loginWithOIDC({
  jwt: myOpenIdJwt,
  providerId: myProviderId,
});

const web3 = new Web3(magic.rpcProvider);
await web3.eth.getAccounts();
```
npm package: @magic-ext/polkadot
Description: magic polkadot extension
Author: Magic
Latest version: 28.5.3

# Magic Extension Polkadot Blockchain

## Installation
```bash
npm i magic-sdk @magic-ext/polkadot
```
## Setup
Setup PolkadotExtension with magic-sdk 
```js

import { Magic } from 'magic-sdk';
import { PolkadotExtension } from '@magic-ext/polkadot';

const magic = new Magic('YOUR_API_KEY', {
    extensions: [
        new PolkadotExtension({
            rpcUrl: 'polkadot rpc url'
        })
    ]
});

// or

const magic = new Magic('YOUR_API_KEY', {
    extensions: {
        polkadot: new PolkadotExtension({
            rpcUrl: 'polkadot rpc url'
        })
    }
});

```

## Magic SDK
See the [developer documentation](https://magic.link/docs) to learn how you can master the Magic SDK in a matter of minutes.


## Usage

### Get account
Using getAccount function to get Polkadot public address for current user.

```js
const publicAddress = await magic.polkadot.getAccount();
console.log('icon public address', publicAddress);
```

### Send Transaction
Send polkadot native currency

```js
      const handlerSendTransaction = async () => {

          const tx = await magic.polkadot.sendTransaction(
              '5H3pELHbg9skXE2HfLqP23UPgrgu2Juj55CH6sdDGWc2HKNs',
              1000000000000000,
          );

          console.log('transaction hash', tx)
      };

```

### Call contract function as transaction

```js
    const handlerContractCall = async () => {

          const api = await ApiPromise.create({ provider: new WsProvider('ws://127.0.0.1:9944/') });
          await api.isReady;
          const abi = new Abi(api.registry, contractABI);

          const data = abi.messages.flip();

          const tx = await magic.polkadot.contractCall('5C52CfgkwANdFuN3VgPSprQwNWKfkLWMHJbMRzp12h4YarCa', 0, 1000000, data);

          console.log('transaction hash', tx)
      }
```
npm package: @magic-ext/react-native-oauth
Description: Magic SDK OAuth Extension for React Native environments.
Author: Magic
Latest version: 7.0.0

## ⚠️ Package Split 

Since `v9.0.0`, `@magic-sdk/react-native` package drops support of bare React Native (RN). You may stay on `^v8.0.0` to keep your bare RN app functional. With this in mind, bare React Native applications utlilizing OAuth should note that `@magic-ext/react-native-oauth` uses `expo-web-browser` as a dependency.

If this dependency causes you issues, consider enabling the expo library via `npx install-expo-modules@latest`. For more context, you may check: https://docs.expo.dev/bare/installing-expo-modules.

We plan to release a new package to support bare-RN exclusively soon.
npm package: @magic-ext/siwe
Description: Magic SDK SIWE Extension for Web environments.
Author: Magic
Latest version: 3.5.4

# @magic-ext/siwe

Magic SDK extension for Sign-In with Ethereum (SIWE/EIP-4361) authentication.

## Installation

```bash
npm install @magic-ext/siwe
```

## Usage

```typescript
import { Magic } from 'magic-sdk';
import { SiweExtension } from '@magic-ext/siwe';

const magic = new Magic('YOUR_API_KEY', {
  extensions: [new SiweExtension()],
});

// Generate nonce
const { nonce } = await magic.siwe.generateNonce();

// OR

// Generate complete message
const message = await magic.siwe.generateMessage({
  address: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb',
  chainId: 1,
});

// Login with message and signature
const publicAddress = await magic.siwe.login({
  message,
  signature: '0x7d5f8c9e...',
});
```

## Methods

### `generateNonce()`

Generate a nonce for SIWE message construction..

### `generateMessage(params)`

Generate a complete SIWE message. Constructs the message client-side using the siwe library.

### `login(params)`

Login with SIWE message and signature. Used for both flows.