Skip to content

Commit 6309e4b

Browse files
committed
WIP update to holochain 0.4-rc
1 parent 6814e89 commit 6309e4b

15 files changed

+321
-151
lines changed

scripts/download-happs.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
mkdir -p electron/binaries
44
# bump this in tandem with bumping the INTEGRITY_VERSION_NUMBER
55
# -q is just "quiet" without the logs
6-
wget -q https://github.com/lightningrodlabs/acorn-happ/releases/download/v14.0.0/acorn.happ -O electron/binaries/acorn.happ
7-
wget -q https://github.com/lightningrodlabs/acorn-happ/releases/download/v14.0.0/projects.happ -O electron/binaries/projects.happ
6+
wget -q https://github.com/lightningrodlabs/acorn-happ/releases/download/v14.0.1/acorn.happ -O electron/binaries/acorn.happ
7+
wget -q https://github.com/lightningrodlabs/acorn-happ/releases/download/v14.0.1/projects.happ -O electron/binaries/projects.happ

we-applet/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"main": "index.js",
55
"license": "MIT",
66
"scripts": {
7-
"dev-we": "we-dev-cli --agent-idx 1 --dev-config we.dev.config.ts",
8-
"dev-we2": "we-dev-cli --agent-idx 2 --dev-config we.dev.config.ts"
7+
"dev-we": "weave --agent-idx 1 --dev-config we.dev.config.ts",
8+
"dev-we2": "weave --agent-idx 2 --dev-config we.dev.config.ts"
99
},
1010
"dependencies": {
11-
"@lightningrodlabs/we-dev-cli": "0.13.0-beta.5"
11+
"@theweave/cli": "0.13.0-gamma.6"
1212
}
1313
}

we-applet/we.dev.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig } from '@lightningrodlabs/we-dev-cli'
1+
import { defineConfig } from '@theweave/cli'
22

33
export default defineConfig({
44
groups: [

web/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"zip:ui": "zip -r dist.zip dist",
1616
"build:webhapp": "hc web-app pack --output=./acorn.webhapp ./",
1717
"package": "npm run build:ui && npm run zip:ui && npm run build:webhapp && cp acorn.webhapp /Users/weswalla/lrl/kando/we_dev",
18-
"dev:we": "we-dev-cli --agent-idx 1 --dev-config we.dev.config.ts"
18+
"dev:we": "weave --agent-idx 1 --dev-config we.dev.config.ts"
1919
},
2020
"devDependencies": {
2121
"@babel/core": "^7.14.0",
@@ -61,11 +61,11 @@
6161
},
6262
"dependencies": {
6363
"@babel/runtime": "^7.7.4",
64-
"@holochain/client": "0.18.0-dev.1",
65-
"@lightningrodlabs/we-applet": "0.17.0-dev.1",
66-
"@lightningrodlabs/we-dev-cli": "0.12.0-dev.0",
67-
"@holochain-open-dev/profiles": "0.400.0-dev.1",
68-
"@holochain-open-dev/utils": "0.300.2",
64+
"@holochain/client": "0.18.0-rc.0",
65+
"@theweave/api": "0.2.1",
66+
"@theweave/cli": "0.13.0-gamma.6 ",
67+
"@holochain-open-dev/profiles": "0.400.0-dev.4",
68+
"@holochain-open-dev/utils": "0.400.0-dev.4",
6969
"@tweenjs/tween.js": "^18.6.4",
7070
"babel-plugin-transform-class-properties": "^6.24.1",
7171
"buffer": "^6.0.3",

web/src/components/IntroScreen/IntroScreen.connector.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import IntroScreenInner, {
1212
import useAppWebsocket from '../../hooks/useAppWebsocket'
1313
import React from 'react'
1414
import { getAppWs, getWeaveProfilesClient } from '../../hcWebsockets'
15-
import { isWeContext } from '@lightningrodlabs/we-applet'
15+
import { isWeContext } from '@theweave/api'
1616

1717
function mapStateToProps(state: RootState): IntroScreenStateProps {
1818
return {

web/src/components/NetworkInfo/NetworkInfo.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import './NetworkInfo.scss'
33
import { getAdminWs } from '../../hcWebsockets'
44
import ReactJsonView from 'react-json-view'
55
import { VersionInfo } from '../../hooks/useVersionChecker'
6-
import { isWeContext } from '@lightningrodlabs/we-applet'
6+
import { isWeContext } from '@theweave/api'
77

88
export type NetworkInfoProps = {
99
versionInfo: VersionInfo

web/src/hcWebsockets.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { AdminWebsocket, AppWebsocket, AppClient } from '@holochain/client'
22
import { MAIN_APP_ID } from './holochainConfig'
3-
import { isWeContext, WeaveClient } from '@lightningrodlabs/we-applet'
3+
import { isWeContext, WeaveClient } from '@theweave/api'
44
import { ProfilesClient } from '@holochain-open-dev/profiles'
55

66
// export for use by holochainMiddleware (redux)

web/src/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
WeaveClient,
1515
initializeHotReload,
1616
isWeContext,
17-
} from '@lightningrodlabs/we-applet'
17+
} from '@theweave/api'
1818
import createStoreAndRenderToDom, { electronInit } from './indexForElectron'
1919
import {
2020
getAdminWs,

web/src/indexForMoss.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { cellIdToString } from './utils'
1717
// Import styles
1818
import './variables.scss'
1919
import './global.scss'
20-
import { isWeContext } from '@lightningrodlabs/we-applet'
20+
import { isWeContext } from '@theweave/api'
2121
import { ProfilesClient } from '@holochain-open-dev/profiles'
2222

2323
export async function mossInit(

web/src/migrating/import/zomeApiCreators.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { AppClient } from '@holochain/client'
22
import ProfilesZomeApi from '../../api/profilesApi'
33
import ProjectsZomeApi from '../../api/projectsApi'
4-
import { isWeContext } from '@lightningrodlabs/we-applet'
4+
import { isWeContext } from '@theweave/api'
55
import { getWeaveProfilesClient } from '../../hcWebsockets'
66

77
export async function createProfilesZomeApi(

web/src/projects/installProject.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { PROJECT_APP_PREFIX, PROJECTS_ROLE_NAME } from '../holochainConfig'
1010
import { passphraseToUid } from '../secrets'
1111
import { CellIdString } from '../types/shared'
1212
import { cellIdToString } from '../utils'
13-
import { isWeContext } from '@lightningrodlabs/we-applet'
13+
import { isWeContext } from '@theweave/api'
1414

1515
export async function internalInstallProject(
1616
passphrase: string,

web/src/routes/App.connector.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import { updateProjectMeta } from '../redux/persistent/projects/project-meta/act
3535
import { uninstallProject } from '../projects/uninstallProject'
3636
import { unselectAll } from '../redux/ephemeral/selection/actions'
3737
import { CellId } from '@holochain/client'
38-
import { isWeContext } from '@lightningrodlabs/we-applet'
38+
import { isWeContext } from '@theweave/api'
3939

4040
function mapStateToProps(state: RootState): AppStateProps {
4141
const {

web/src/routes/CreateProfilePage/CreateProfilePage.connector.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import CreateProfilePage, {
1313
import { Profile } from '../../types'
1414
import { CellIdString } from '../../types/shared'
1515
import { AppClient } from '@holochain/client'
16-
import { isWeContext } from '@lightningrodlabs/we-applet'
16+
import { isWeContext } from '@theweave/api'
1717
import { getWeaveProfilesClient } from '../../hcWebsockets'
1818

1919
function mapStateToProps(state: RootState): CreateProfilePageStateProps {

web/src/routes/ProjectView/ProjectView.component.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import selectAndComputeOutcomes from '../../selectors/computeOutcomes'
2626
import selectOutcomeAndAncestors from '../../selectors/outcomeAndAncestors'
2727
import { getAdminWs } from '../../hcWebsockets'
2828
import { cellIdFromString } from '../../utils'
29-
import { isWeContext } from '@lightningrodlabs/we-applet'
29+
import { isWeContext } from '@theweave/api'
3030

3131
export type ProjectViewInnerOwnProps = {
3232
projectId: CellIdString

0 commit comments

Comments
 (0)