@junobuild/did-tools 0.0.1 → 0.0.2-next-2024-09-12.1

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.
@@ -1,9 +1,7 @@
1
- import type { CompilerOptions } from 'typescript';
2
1
  import type { TransformerOptions } from './types/transformer-options';
3
2
  export type * from './types/transformer-options';
4
- export declare const generateApi: ({ inputFile, outputFile, compilerOptions, transformerOptions }: {
3
+ export declare const generateApi: ({ inputFile, outputFile, transformerOptions }: {
5
4
  inputFile: string;
6
5
  outputFile: string;
7
- compilerOptions?: CompilerOptions;
8
6
  transformerOptions: TransformerOptions;
9
7
  }) => Promise<void>;
@@ -1,6 +1,4 @@
1
- import { type CompilerOptions } from 'typescript';
2
- import type { MethodSignature } from '../types/method-signature';
3
- export declare const collectMethodSignatures: ({ inputFile, compilerOptions }: {
1
+ import { MethodSignature } from '../types/method-signature';
2
+ export declare const collectMethodSignatures: ({ inputFile }: {
4
3
  inputFile: string;
5
- compilerOptions?: CompilerOptions;
6
- }) => MethodSignature[];
4
+ }) => Promise<MethodSignature[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/did-tools",
3
- "version": "0.0.1",
3
+ "version": "0.0.2-next-2024-09-12.1",
4
4
  "description": "Tools for generating APIs from DID files.",
5
5
  "author": "David Dal Busco (https://daviddalbusco.com)",
6
6
  "license": "MIT",
@@ -40,16 +40,17 @@
40
40
  "url": "https://github.com/junobuild/juno-js"
41
41
  },
42
42
  "keywords": [
43
- "blockchain-as-a-service",
44
- "baas",
45
- "dapps",
46
- "dapps-development",
47
- "internet computer",
48
- "smart-contracts",
49
- "web3",
50
- "utilities",
51
- "utils",
43
+ "candid",
44
+ "parser",
52
45
  "cli"
53
46
  ],
54
- "homepage": "https://juno.build"
55
- }
47
+ "homepage": "https://juno.build",
48
+ "peerDependencies": {
49
+ "@junobuild/utils": "*"
50
+ },
51
+ "dependencies": {
52
+ "@babel/core": "^7.24.6",
53
+ "@babel/plugin-transform-modules-commonjs": "^7.24.6",
54
+ "@babel/preset-typescript": "^7.24.6"
55
+ }
56
+ }