@towns-protocol/xchain-monitor 0.0.431 → 0.0.433
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/Dockerfile +9 -4
- package/README.md +1 -1
- package/dist/node_esbuild.cjs +0 -48
- package/dist/node_esbuild.cjs.map +2 -2
- package/package.json +4 -4
package/.turbo/turbo-build.log
CHANGED
package/Dockerfile
CHANGED
|
@@ -8,6 +8,11 @@ RUN apt-get update && \
|
|
|
8
8
|
git curl ca-certificates build-essential unzip && \
|
|
9
9
|
apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
10
10
|
|
|
11
|
+
# Install Node.js (needed for npm pack in @towns-protocol/generated build)
|
|
12
|
+
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
|
13
|
+
apt-get install -y nodejs && \
|
|
14
|
+
apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
15
|
+
|
|
11
16
|
# Install Bun
|
|
12
17
|
RUN curl -fsSL https://bun.sh/install | bash && \
|
|
13
18
|
ln -s /root/.bun/bin/bun /usr/local/bin/bun && \
|
|
@@ -43,14 +48,14 @@ COPY ./packages/xchain-monitor ./packages/xchain-monitor
|
|
|
43
48
|
RUN bun run turbo build --filter @towns-protocol/xchain-monitor...
|
|
44
49
|
|
|
45
50
|
# create runner image with only the necessary files
|
|
46
|
-
FROM
|
|
51
|
+
FROM node:lts-alpine3.20 AS runner
|
|
47
52
|
|
|
48
53
|
COPY --from=builder /river/packages/xchain-monitor/dist /river/packages/xchain-monitor/dist
|
|
49
54
|
|
|
50
55
|
# install dd-trace again (because the bundler excludes some of the sub-dependencies)
|
|
51
56
|
WORKDIR /river/packages/xchain-monitor
|
|
52
|
-
RUN
|
|
53
|
-
RUN
|
|
57
|
+
RUN npm init --yes
|
|
58
|
+
RUN npm install dd-trace@^5.19.0 && npm cache clean --force
|
|
54
59
|
|
|
55
60
|
# run the service
|
|
56
61
|
ARG GIT_SHA
|
|
@@ -59,4 +64,4 @@ ENV DD_GIT_REPOSITORY_URL="https://github.com/towns-protocol/towns" \
|
|
|
59
64
|
DD_GIT_COMMIT_SHA=${GIT_SHA} \
|
|
60
65
|
NODE_ENV=production
|
|
61
66
|
|
|
62
|
-
CMD ["
|
|
67
|
+
CMD ["node", "--enable-source-maps", "--max-old-space-size=4096", "./dist/node_esbuild.cjs"]
|
package/README.md
CHANGED
package/dist/node_esbuild.cjs
CHANGED
|
@@ -86766,35 +86766,6 @@ var _abi40 = [
|
|
|
86766
86766
|
outputs: [],
|
|
86767
86767
|
stateMutability: "nonpayable"
|
|
86768
86768
|
},
|
|
86769
|
-
{
|
|
86770
|
-
type: "function",
|
|
86771
|
-
name: "execute",
|
|
86772
|
-
inputs: [
|
|
86773
|
-
{
|
|
86774
|
-
name: "target",
|
|
86775
|
-
type: "address",
|
|
86776
|
-
internalType: "address"
|
|
86777
|
-
},
|
|
86778
|
-
{
|
|
86779
|
-
name: "value",
|
|
86780
|
-
type: "uint256",
|
|
86781
|
-
internalType: "uint256"
|
|
86782
|
-
},
|
|
86783
|
-
{
|
|
86784
|
-
name: "data",
|
|
86785
|
-
type: "bytes",
|
|
86786
|
-
internalType: "bytes"
|
|
86787
|
-
}
|
|
86788
|
-
],
|
|
86789
|
-
outputs: [
|
|
86790
|
-
{
|
|
86791
|
-
name: "",
|
|
86792
|
-
type: "bytes",
|
|
86793
|
-
internalType: "bytes"
|
|
86794
|
-
}
|
|
86795
|
-
],
|
|
86796
|
-
stateMutability: "payable"
|
|
86797
|
-
},
|
|
86798
86769
|
{
|
|
86799
86770
|
type: "function",
|
|
86800
86771
|
name: "getAppExpiration",
|
|
@@ -86875,25 +86846,6 @@ var _abi40 = [
|
|
|
86875
86846
|
],
|
|
86876
86847
|
stateMutability: "view"
|
|
86877
86848
|
},
|
|
86878
|
-
{
|
|
86879
|
-
type: "function",
|
|
86880
|
-
name: "isAppExecuting",
|
|
86881
|
-
inputs: [
|
|
86882
|
-
{
|
|
86883
|
-
name: "app",
|
|
86884
|
-
type: "address",
|
|
86885
|
-
internalType: "address"
|
|
86886
|
-
}
|
|
86887
|
-
],
|
|
86888
|
-
outputs: [
|
|
86889
|
-
{
|
|
86890
|
-
name: "",
|
|
86891
|
-
type: "bool",
|
|
86892
|
-
internalType: "bool"
|
|
86893
|
-
}
|
|
86894
|
-
],
|
|
86895
|
-
stateMutability: "view"
|
|
86896
|
-
},
|
|
86897
86849
|
{
|
|
86898
86850
|
type: "function",
|
|
86899
86851
|
name: "isAppInstalled",
|