@layerzerolabs/sac-manager-stellar-sdk 1.2.34

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.
@@ -0,0 +1,6 @@
1
+ export * from './generated/sac_manager';
2
+ /** Contract name used as the gated-tx label and uniqueId scope for the standard SAC Manager. */
3
+ export declare const SAC_MANAGER_CONTRACT_NAME = "SacManager";
4
+ /** Soroban RBAC role granted to the OFT so it can mint/burn the SAC via the SAC Manager. */
5
+ export declare const MINTER_ROLE = "MINTER_ROLE";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AAExC,gGAAgG;AAChG,eAAO,MAAM,yBAAyB,eAAe,CAAC;AAEtD,4FAA4F;AAC5F,eAAO,MAAM,WAAW,gBAAgB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,9 @@
1
+ export { AuthError, BufferReaderError, BufferWriterError, BytesExtError, Client, MultiSigError, OwnableError, RbacError, TtlConfigurableError, UpgradeableError, WASM_BASE64, WASM_HASH, contract, getWasmBuffer, rpc } from './6X5OU3HF.js';
2
+
3
+ // src/index.ts
4
+ var SAC_MANAGER_CONTRACT_NAME = "SacManager";
5
+ var MINTER_ROLE = "MINTER_ROLE";
6
+
7
+ export { MINTER_ROLE, SAC_MANAGER_CONTRACT_NAME };
8
+ //# sourceMappingURL=index.js.map
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"names":["SAC_MANAGER_CONTRACT_NAME","MINTER_ROLE"],"mappings":";;;AAGO,IAAMA,yBAAAA,GAA4B;AAGlC,IAAMC,WAAAA,GAAc","file":"index.js","sourcesContent":["export * from './generated/sac_manager';\n\n/** Contract name used as the gated-tx label and uniqueId scope for the standard SAC Manager. */\nexport const SAC_MANAGER_CONTRACT_NAME = 'SacManager';\n\n/** Soroban RBAC role granted to the OFT so it can mint/burn the SAC via the SAC Manager. */\nexport const MINTER_ROLE = 'MINTER_ROLE';\n"]}
package/package.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "@layerzerolabs/sac-manager-stellar-sdk",
3
+ "version": "1.2.34",
4
+ "private": false,
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "exports": {
8
+ "types": "./dist/index.d.ts",
9
+ "import": "./dist/index.js",
10
+ "default": "./dist/index.js"
11
+ },
12
+ "main": "./dist/index.js",
13
+ "module": "./dist/index.js",
14
+ "types": "./dist/index.d.ts",
15
+ "dependencies": {
16
+ "@stellar/stellar-sdk": "^16.0.1"
17
+ },
18
+ "devDependencies": {
19
+ "tsup": "^8.4.0",
20
+ "typescript": "^6.0.3",
21
+ "@layerzerolabs/sac-manager-stellar-contracts": "1.2.34",
22
+ "@layerzerolabs/stellar-ts-bindings-gen": "1.2.34",
23
+ "@layerzerolabs/tsup-configuration": "1.2.34",
24
+ "@layerzerolabs/typescript-configuration": "1.2.34"
25
+ },
26
+ "publishConfig": {
27
+ "access": "public",
28
+ "registry": "https://registry.npmjs.org/"
29
+ },
30
+ "implicitDependencies": {
31
+ "@stellar/stellar-sdk": "catalog:"
32
+ },
33
+ "scripts": {
34
+ "build": "stellar-ts-bindings-gen --config bindings.toml && tsup",
35
+ "lint": "eslint . --max-warnings 0 || (eslint . --fix --max-warnings 0 && false)"
36
+ }
37
+ }
package/src/index.ts ADDED
@@ -0,0 +1,7 @@
1
+ export * from './generated/sac_manager';
2
+
3
+ /** Contract name used as the gated-tx label and uniqueId scope for the standard SAC Manager. */
4
+ export const SAC_MANAGER_CONTRACT_NAME = 'SacManager';
5
+
6
+ /** Soroban RBAC role granted to the OFT so it can mint/burn the SAC via the SAC Manager. */
7
+ export const MINTER_ROLE = 'MINTER_ROLE';
package/tsconfig.json ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "extends": "@layerzerolabs/typescript-configuration/tsconfig.base.json",
3
+ "compilerOptions": {
4
+ "rootDir": "./src",
5
+ "outDir": "./dist",
6
+ "module": "ESNext",
7
+ "moduleResolution": "Bundler",
8
+ "strictPropertyInitialization": false,
9
+ "noUnusedLocals": false,
10
+ "noUnusedParameters": false,
11
+ "jsx": "react-jsx"
12
+ },
13
+ "exclude": [
14
+ "node_modules",
15
+ "**/__mocks__/*",
16
+ "**/__tests__/*",
17
+ "**/*.spec.ts",
18
+ "**/*.test.ts",
19
+ "dist"
20
+ ],
21
+ "include": ["src/**/*"]
22
+ }
package/tsup.config.ts ADDED
@@ -0,0 +1,8 @@
1
+ import { defineConfig } from 'tsup';
2
+
3
+ import { createPackageTsupConfig } from '@layerzerolabs/tsup-configuration';
4
+
5
+ export default defineConfig(({ watch }) => ({
6
+ ...createPackageTsupConfig(),
7
+ clean: !watch,
8
+ }));