Skip to content

Commit c549424

Browse files
committed
Atomic commit, removed 'file:wasm-lib/pkg' from package.json since file::/ protocol depricated
1 parent 80bc935 commit c549424

File tree

330 files changed

+263
-16
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

330 files changed

+263
-16
lines changed

package-lock.json

+2-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"react-tree-graph": "^8.0.1",
2323
"recharts": "^2.7.2",
2424
"typescript": "^4.9.5",
25-
"wasm-lib": "file:wasm-lib/pkg",
2625
"web-vitals": "^2.1.4"
2726
},
2827
"scripts": {

src/App.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { up_size, down_size, call_buy_payoff, put_buy_payoff, get_rnp } from "wasm-lib";
1+
import { up_size, down_size, call_buy_payoff, put_buy_payoff, get_rnp } from "./wasm-lib/pkg";
22
import { BrowserRouter as Router, Route, Routes, useNavigate, useLocation } from 'react-router-dom';import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
33
import { faArrowsToEye } from '@fortawesome/free-solid-svg-icons';
44
import React, { useEffect, useState, useRef } from 'react';

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import init from "wasm-lib"
1+
import init from "./wasm-lib/pkg"
22
import ReactDOM from 'react-dom/client';
33
import React from 'react';
44
import App from './App';
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)