Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions internals/docker/oko_api_server.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
RUN mkdir -p /home/node/oko && chown -R node:node /home/node/oko
WORKDIR /home/node/oko
COPY --chown=node:node ../../.. .

# Remove .npmrc before yarn set version to avoid NPM_TOKEN env var error
# .npmrc is only needed for publishing, not for building
RUN rm -f .npmrc || true

RUN yarn set version 4.7.0

Expand Down
8 changes: 8 additions & 0 deletions key_share_node/docker/key_share_node.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ RUN yarn workspaces focus @oko-wallet/crypto-js
WORKDIR /home/node/key_share_node/crypto/crypto_js
RUN yarn run build

# Install dependencies for oko-types
WORKDIR /home/node/key_share_node
RUN yarn workspaces focus @oko-wallet/oko-types

# Build oko-types
WORKDIR /home/node/key_share_node/common/oko_types
RUN yarn run build

# Install dependencies for ksn_interface
WORKDIR /home/node/key_share_node
RUN yarn workspaces focus @oko-wallet/ksn-interface
Expand Down
2 changes: 1 addition & 1 deletion key_share_node/ksn_interface/src/key_share.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Bytes33, Bytes64 } from "@oko-wallet/bytes";
import type { AuthType } from "@oko-wallet/oko-types/auth";

import type { CurveType } from "./curve_type";
import type { AuthType } from "./user";

export type KeyShareStatus = "active" | "inactive";

Expand Down