Skip to content

Commit

Permalink
Refactor code
Browse files Browse the repository at this point in the history
  • Loading branch information
DaevMithran committed Nov 16, 2024
1 parent d1b828c commit bf865f4
Show file tree
Hide file tree
Showing 22 changed files with 312 additions and 1,553 deletions.
983 changes: 97 additions & 886 deletions package-lock.json

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@daevm/sp-sdk",
"version": "0.1.0",
"name": "@daevm/ethsign-sp-sdk",
"version": "0.7.7",
"description": "",
"main": "dist/index.cjs",
"module": "dist/index.esm.js",
Expand Down Expand Up @@ -35,10 +35,9 @@
"@lit-protocol/constants": "^6.11.1",
"@lit-protocol/lit-node-client": "^6.11.1",
"abitype": "^1.0.6",
"ethers": "^6.10.0",
"query-string": "^9.0.0",
"tslib": "^2.6.2",
"viem": "^2.21.45"
"viem": "^2.21.45",
"tslib": "^2.6.2"
},
"publishConfig": {
"access": "public"
Expand Down
33 changes: 14 additions & 19 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,33 +1,28 @@
import typescript from 'rollup-plugin-typescript2'
import { terser } from 'rollup-plugin-terser'
import json from 'rollup-plugin-json'
import commonjs from '@rollup/plugin-commonjs'
import { nodeResolve } from '@rollup/plugin-node-resolve';
import typescript from "rollup-plugin-typescript2"
import { terser } from "rollup-plugin-terser"
import json from "rollup-plugin-json"
import commonjs from "@rollup/plugin-commonjs"
import { nodeResolve } from "@rollup/plugin-node-resolve"
export default {
input: 'src/index.ts',
input: "src/index.ts",
output: [
{
file: 'dist/index.cjs',
format: 'cjs',
file: "dist/index.cjs",
format: "cjs",
sourcemap: true,
inlineDynamicImports:'true',
inlineDynamicImports: "true",
},
{
file: 'dist/index.esm.js',
format: 'esm',
file: "dist/index.esm.js",
format: "esm",
sourcemap: true,
inlineDynamicImports:'true',
inlineDynamicImports: "true",
},
],
watch: {
// include and exclude govern which files to watch. by
// default, all dependencies will be watched
exclude: ['node_modules/**', 'rollup.config.js'],
exclude: ["node_modules/**", "rollup.config.js"],
},
plugins: [
nodeResolve(),
commonjs(),
typescript(),
json(),
],
plugins: [nodeResolve(), commonjs(), typescript(), json()],
}
276 changes: 0 additions & 276 deletions site/examples/getting-started/demo.tsx

This file was deleted.

12 changes: 0 additions & 12 deletions site/examples/getting-started/index.css

This file was deleted.

Empty file.
Empty file.
Empty file.
2 changes: 0 additions & 2 deletions site/pages/docs/client/introduction.mdx

This file was deleted.

Loading

0 comments on commit bf865f4

Please sign in to comment.