Skip to content

Commit 4a181b3

Browse files
committed
fix(js): rename js lib to be @kitware/trame-iframe
1 parent fcda6d3 commit 4a181b3

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

js-lib/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Trame iframe client library for plain JS
1+
# Trame iframe library for plain JS
22
This library aims to simplify interaction between a trame application living inside an iframe and its iframe parent.
33
This work is inspired by the [official trame-client js lib](https://github.com/Kitware/trame-client/tree/master/js-lib)
44

@@ -8,7 +8,7 @@ This work is inspired by the [official trame-client js lib](https://github.com/K
88
## Usage
99
First you need to grab the iframe that contains your trame application.
1010
```js
11-
import ClientCommunicator from "@kitware/trame-iframe-client";
11+
import ClientCommunicator from "@kitware/trame-iframe";
1212

1313
const iframe = document.getElementById("trame_app");
1414
const iframe_url = "http://localhost:3000";

js-lib/examples/vite/client/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import ClientCommunicator from "@kitware/trame-iframe-client";
1+
import ClientCommunicator from "@kitware/trame-iframe";
22
import "./style.css";
33
import { setupCounter } from "./counter.js";
44

js-lib/examples/vite/client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"vite": "^5.2.0"
1313
},
1414
"dependencies": {
15-
"@kitware/trame-iframe-client": "^0.0.1"
15+
"@kitware/trame-iframe": "latest"
1616
}
1717
}

js-lib/package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js-lib/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@kitware/trame-iframe-client",
3-
"version": "0.0.1",
2+
"name": "@kitware/trame-iframe",
3+
"version": "0.0.2",
44
"license": "Apache-2.0",
55
"main": "./dist/trame-iframe.umd.js",
66
"unpkg": "./dist/trame-iframe.umd.js",

0 commit comments

Comments
 (0)