@graphprotocol/graph-cli 0.26.0 → 0.27.1

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.
Files changed (42) hide show
  1. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/chain/ethereum.ts +1 -1
  2. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/chain/tendermint.ts +554 -0
  3. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/common/collections.ts +52 -2
  4. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/common/numbers.ts +11 -0
  5. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/common/value.ts +47 -0
  6. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/global/global.ts +150 -1
  7. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/index.ts +2 -0
  8. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/package.json +2 -1
  9. package/examples/basic-event-handlers/node_modules/@graphprotocol/graph-ts/test/test.js +2 -0
  10. package/examples/basic-event-handlers/node_modules/keccak/build/Makefile +1 -1
  11. package/examples/basic-event-handlers/node_modules/keccak/build/Release/.deps/Release/obj.target/keccak/src/addon.o.d.raw +16 -16
  12. package/examples/basic-event-handlers/node_modules/keccak/build/config.gypi +4 -4
  13. package/examples/basic-event-handlers/node_modules/keccak/build/keccak.target.mk +14 -14
  14. package/examples/basic-event-handlers/node_modules/websocket/build/Makefile +1 -1
  15. package/examples/basic-event-handlers/node_modules/websocket/build/Release/.deps/Release/obj.target/bufferutil/src/bufferutil.o.d.raw +16 -16
  16. package/examples/basic-event-handlers/node_modules/websocket/build/bufferutil.target.mk +14 -14
  17. package/examples/basic-event-handlers/node_modules/websocket/build/config.gypi +1 -1
  18. package/examples/basic-event-handlers/node_modules/websocket/build/validation.target.mk +14 -14
  19. package/examples/basic-event-handlers/package.json +4 -4
  20. package/examples/basic-event-handlers/yarn.lock +8 -8
  21. package/package.json +27 -24
  22. package/src/codegen/schema.js +5 -46
  23. package/src/codegen/schema.test.js +0 -6
  24. package/src/codegen/types/conversions.js +19 -19
  25. package/src/codegen/types/index.js +0 -25
  26. package/src/codegen/types/index.test.js +0 -22
  27. package/src/commands/deploy.js +3 -1
  28. package/src/commands/init.js +2 -0
  29. package/src/commands/test.js +82 -59
  30. package/src/protocols/ethereum/codegen/abi.js +72 -2
  31. package/src/protocols/ethereum/manifest.graphql +92 -0
  32. package/src/protocols/index.js +17 -7
  33. package/src/protocols/near/manifest.graphql +57 -0
  34. package/src/subgraph.js +18 -13
  35. package/src/validation/manifest.js +12 -8
  36. package/tests/cli/validation/example-values-found.stderr +2 -2
  37. package/tests/cli/validation/invalid-manifest/subgraph.yaml +2 -1
  38. package/tests/cli/validation/invalid-manifest-cannot-infer-protocol/subgraph.yaml +12 -0
  39. package/tests/cli/validation/invalid-manifest-cannot-infer-protocol.stderr +5 -0
  40. package/tests/cli/validation/invalid-manifest.stderr +0 -3
  41. package/tests/cli/validation.test.js +8 -0
  42. package/manifest-schema.graphql +0 -122
@@ -16,6 +16,17 @@ export enum ValueKind {
16
16
  BIGINT = 7,
17
17
  }
18
18
 
19
+ const VALUE_KIND_NAMES = [
20
+ 'String',
21
+ 'Int',
22
+ 'BigDecimal',
23
+ 'bool',
24
+ 'Array',
25
+ 'null',
26
+ 'Bytes',
27
+ 'BigInt',
28
+ ]
29
+
19
30
  /**
20
31
  * Pointer type for Value data.
21
32
  *
@@ -129,6 +140,42 @@ export class Value {
129
140
  return output
130
141
  }
131
142
 
143
+ /** Return a string that indicates the kind of value `this` contains for
144
+ * logging and error messages */
145
+ displayKind(): string {
146
+ if (this.kind >= VALUE_KIND_NAMES.length) {
147
+ return `Unknown (${this.kind})`
148
+ } else {
149
+ return VALUE_KIND_NAMES[this.kind]
150
+ }
151
+ }
152
+
153
+ /** Return a string representation of the value of `this` for logging and
154
+ * error messages */
155
+ displayData(): string {
156
+ switch (this.kind) {
157
+ case ValueKind.STRING:
158
+ return this.toString()
159
+ case ValueKind.INT:
160
+ return this.toI32().toString()
161
+ case ValueKind.BIGDECIMAL:
162
+ return this.toBigDecimal().toString()
163
+ case ValueKind.BOOL:
164
+ return this.toBoolean().toString()
165
+ case ValueKind.ARRAY:
166
+ let arr = this.toArray()
167
+ return '[' + arr.map<string>((elt) => elt.displayData()).join(', ') + ']'
168
+ case ValueKind.NULL:
169
+ return 'null'
170
+ case ValueKind.BYTES:
171
+ return this.toBytes().toHexString()
172
+ case ValueKind.BIGINT:
173
+ return this.toBigInt().toString()
174
+ default:
175
+ return `Unknown data (kind = ${this.kind})`
176
+ }
177
+ }
178
+
132
179
  static fromBooleanArray(input: Array<boolean>): Value {
133
180
  let output = new Array<Value>(input.length)
134
181
  for (let i: i32 = 0; i < input.length; i++) {
@@ -1,8 +1,16 @@
1
1
  import { BigDecimal } from '../common/numbers'
2
- import { TypedMapEntry, Entity, TypedMap, Result, Wrapped } from '../common/collections'
2
+ import {
3
+ Bytes,
4
+ TypedMapEntry,
5
+ Entity,
6
+ TypedMap,
7
+ Result,
8
+ Wrapped,
9
+ } from '../common/collections'
3
10
  import { JSONValue, Value } from '../common/value'
4
11
  import { ethereum } from '../chain/ethereum'
5
12
  import { near } from '../chain/near'
13
+ import { tendermint } from '../chain/tendermint'
6
14
 
7
15
  export enum TypeId {
8
16
  String = 0,
@@ -92,6 +100,53 @@ export enum TypeId {
92
100
  NearChunkHeader = 84,
93
101
  NearBlock = 85,
94
102
  NearReceiptWithOutcome = 86,
103
+ TendermintArrayEventTx = 87,
104
+ TendermintArrayEvent = 88,
105
+ TendermintArrayCommitSig = 89,
106
+ TendermintArrayBytes = 90,
107
+ TendermintArrayEvidence = 91,
108
+ TendermintArrayEventAttribute = 92,
109
+ TendermintBlockIDFlagEnum = 93,
110
+ TendermintSignedMsgTypeEnum = 94,
111
+ TendermintEventList = 95,
112
+ TendermintEventBlock = 96,
113
+ TendermintResponseBeginBlock = 97,
114
+ TendermintResponseEndBlock = 98,
115
+ TendermintValidatorUpdate = 99,
116
+ TendermintArrayValidatorUpdate = 100,
117
+ TendermintConsensusParams = 101,
118
+ TendermintBlockParams = 102,
119
+ TendermintEvidenceParams = 103,
120
+ TendermintValidatorParams = 104,
121
+ TendermintVersionParams = 105,
122
+ TendermintBlock = 106,
123
+ TendermintCommit = 107,
124
+ TendermintCommitSig = 108,
125
+ TendermintHeader = 109,
126
+ TendermintConsensus = 110,
127
+ TendermintBlockID = 111,
128
+ TendermintPartSetHeader = 112,
129
+ TendermintData = 113,
130
+ TendermintEvidence = 114,
131
+ TendermintDuplicateVoteEvidence = 115,
132
+ TendermintEventTx = 116,
133
+ TendermintEventVote = 117,
134
+ TendermintLightClientAttackEvidence = 118,
135
+ TendermintLightBlock = 119,
136
+ TendermintValidatorSet = 120,
137
+ TendermintSignedHeader = 121,
138
+ TendermintEvidenceList = 122,
139
+ TendermintValidator = 123,
140
+ TendermintArrayValidator = 124,
141
+ TendermintPublicKey = 125,
142
+ TendermintTxResult = 126,
143
+ TendermintResponseDeliverTx = 127,
144
+ TendermintEvent = 128,
145
+ TendermintEventAttribute = 129,
146
+ TendermintEventValidatorSetUpdates = 130,
147
+ TendermintDuration = 131,
148
+ TendermintTimestamp = 132,
149
+ TendermintEventData = 133,
95
150
  }
96
151
 
97
152
  export function id_of_type(typeId: TypeId): usize {
@@ -271,6 +326,100 @@ export function id_of_type(typeId: TypeId): usize {
271
326
  return idof<near.Block>()
272
327
  case TypeId.NearReceiptWithOutcome:
273
328
  return idof<near.ReceiptWithOutcome>()
329
+ case TypeId.TendermintArrayEventTx:
330
+ return idof<Array<tendermint.EventTx>>()
331
+ case TypeId.TendermintArrayEvent:
332
+ return idof<Array<tendermint.Event>>()
333
+ case TypeId.TendermintArrayCommitSig:
334
+ return idof<Array<tendermint.CommitSig>>()
335
+ case TypeId.TendermintArrayBytes:
336
+ return idof<Array<Bytes>>()
337
+ case TypeId.TendermintArrayEvidence:
338
+ return idof<Array<tendermint.Evidence>>()
339
+ case TypeId.TendermintArrayEventAttribute:
340
+ return idof<Array<tendermint.EventAttribute>>()
341
+ case TypeId.TendermintBlockIDFlagEnum:
342
+ return idof<Array<tendermint.BlockIDFlag>>()
343
+ case TypeId.TendermintSignedMsgTypeEnum:
344
+ return idof<Array<tendermint.SignedMsgType>>()
345
+ case TypeId.TendermintEventList:
346
+ return idof<tendermint.EventList>()
347
+ case TypeId.TendermintEventBlock:
348
+ return idof<tendermint.EventBlock>()
349
+ case TypeId.TendermintResponseBeginBlock:
350
+ return idof<tendermint.ResponseBeginBlock>()
351
+ case TypeId.TendermintResponseEndBlock:
352
+ return idof<tendermint.ResponseEndBlock>()
353
+ case TypeId.TendermintValidatorUpdate:
354
+ return idof<tendermint.ValidatorUpdate>()
355
+ case TypeId.TendermintArrayValidatorUpdate:
356
+ return idof<Array<tendermint.ValidatorUpdate>>()
357
+ case TypeId.TendermintConsensusParams:
358
+ return idof<tendermint.ConsensusParams>()
359
+ case TypeId.TendermintBlockParams:
360
+ return idof<tendermint.BlockParams>()
361
+ case TypeId.TendermintEvidenceParams:
362
+ return idof<tendermint.EvidenceParams>()
363
+ case TypeId.TendermintValidatorParams:
364
+ return idof<tendermint.ValidatorParams>()
365
+ case TypeId.TendermintVersionParams:
366
+ return idof<tendermint.VersionParams>()
367
+ case TypeId.TendermintBlock:
368
+ return idof<tendermint.Block>()
369
+ case TypeId.TendermintCommit:
370
+ return idof<tendermint.Commit>()
371
+ case TypeId.TendermintCommitSig:
372
+ return idof<tendermint.CommitSig>()
373
+ case TypeId.TendermintHeader:
374
+ return idof<tendermint.Header>()
375
+ case TypeId.TendermintConsensus:
376
+ return idof<tendermint.Consensus>()
377
+ case TypeId.TendermintBlockID:
378
+ return idof<tendermint.BlockID>()
379
+ case TypeId.TendermintPartSetHeader:
380
+ return idof<tendermint.PartSetHeader>()
381
+ case TypeId.TendermintData:
382
+ return idof<tendermint.Data>()
383
+ case TypeId.TendermintEvidence:
384
+ return idof<tendermint.Evidence>()
385
+ case TypeId.TendermintDuplicateVoteEvidence:
386
+ return idof<tendermint.DuplicateVoteEvidence>()
387
+ case TypeId.TendermintEventTx:
388
+ return idof<tendermint.EventTx>()
389
+ case TypeId.TendermintEventVote:
390
+ return idof<tendermint.EventVote>()
391
+ case TypeId.TendermintLightClientAttackEvidence:
392
+ return idof<tendermint.LightClientAttackEvidence>()
393
+ case TypeId.TendermintLightBlock:
394
+ return idof<tendermint.LightBlock>()
395
+ case TypeId.TendermintValidatorSet:
396
+ return idof<tendermint.ValidatorSet>()
397
+ case TypeId.TendermintSignedHeader:
398
+ return idof<tendermint.SignedHeader>()
399
+ case TypeId.TendermintEvidenceList:
400
+ return idof<tendermint.EvidenceList>()
401
+ case TypeId.TendermintValidator:
402
+ return idof<tendermint.Validator>()
403
+ case TypeId.TendermintArrayValidator:
404
+ return idof<Array<tendermint.Validator>>()
405
+ case TypeId.TendermintPublicKey:
406
+ return idof<tendermint.PublicKey>()
407
+ case TypeId.TendermintTxResult:
408
+ return idof<tendermint.TxResult>()
409
+ case TypeId.TendermintResponseDeliverTx:
410
+ return idof<tendermint.ResponseDeliverTx>()
411
+ case TypeId.TendermintEvent:
412
+ return idof<tendermint.Event>()
413
+ case TypeId.TendermintEventAttribute:
414
+ return idof<tendermint.EventAttribute>()
415
+ case TypeId.TendermintEventValidatorSetUpdates:
416
+ return idof<tendermint.EventValidatorSetUpdates>()
417
+ case TypeId.TendermintDuration:
418
+ return idof<tendermint.Duration>()
419
+ case TypeId.TendermintTimestamp:
420
+ return idof<tendermint.Timestamp>()
421
+ case TypeId.TendermintEventData:
422
+ return idof<tendermint.EventData>()
274
423
  default:
275
424
  return 0
276
425
  }
@@ -4,6 +4,8 @@ import './common/eager_offset'
4
4
  export * from './chain/ethereum'
5
5
  // NEAR support
6
6
  export * from './chain/near'
7
+ // Tendermint support
8
+ export * from './chain/tendermint'
7
9
  // Regular re-exports
8
10
  export * from './common/numbers'
9
11
  export * from './common/collections'
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@graphprotocol/graph-ts",
3
3
  "description": "TypeScript/AssemblyScript library for writing subgraph mappings for The Graph",
4
- "version": "0.24.0",
4
+ "version": "0.26.0",
5
5
  "module": "index.ts",
6
6
  "types": "index.ts",
7
7
  "main": "index.ts",
@@ -13,6 +13,7 @@
13
13
  },
14
14
  "scripts": {
15
15
  "lint": "prettier -c **/*.{js,ts}",
16
+ "format": "prettier --write -c **/*.{js,ts}",
16
17
  "build": "asc --explicitStart --exportRuntime --runtime stub index.ts helper-functions.ts --lib graph-ts -b index.wasm",
17
18
  "test": "node test/test.js"
18
19
  }
@@ -31,6 +31,7 @@ async function main() {
31
31
  fs.copyFileSync('common/value.ts', 'test/temp_lib/common/value.ts')
32
32
  fs.copyFileSync('chain/ethereum.ts', 'test/temp_lib/chain/ethereum.ts')
33
33
  fs.copyFileSync('chain/near.ts', 'test/temp_lib/chain/near.ts')
34
+ fs.copyFileSync('chain/tendermint.ts', 'test/temp_lib/chain/tendermint.ts')
34
35
  fs.copyFileSync('index.ts', 'test/temp_lib/index.ts')
35
36
 
36
37
  try {
@@ -63,6 +64,7 @@ async function main() {
63
64
  fs.rmdirSync('test/temp_lib/common')
64
65
  fs.unlinkSync('test/temp_lib/chain/ethereum.ts')
65
66
  fs.unlinkSync('test/temp_lib/chain/near.ts')
67
+ fs.unlinkSync('test/temp_lib/chain/tendermint.ts')
66
68
  fs.rmdirSync('test/temp_lib/chain')
67
69
  fs.unlinkSync('test/temp_lib/index.ts')
68
70
  fs.rmdirSync('test/temp_lib')
@@ -326,7 +326,7 @@ ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
326
326
  endif
327
327
 
328
328
  quiet_cmd_regen_makefile = ACTION Regenerating $@
329
- cmd_regen_makefile = cd $(srcdir); /usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "--toplevel-dir=." -I/Users/otaviopace/graph-cli/examples/basic-event-handlers/node_modules/keccak/build/config.gypi -I/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/common.gypi "--depth=." "-Goutput_dir=." "--generator-output=build" "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/Users/otaviopace/Library/Caches/node-gyp/14.16.0" "-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=/Users/otaviopace/Library/Caches/node-gyp/14.16.0/<(target_arch)/node.lib" "-Dmodule_root_dir=/Users/otaviopace/graph-cli/examples/basic-event-handlers/node_modules/keccak" "-Dnode_engine=v8" binding.gyp
329
+ cmd_regen_makefile = cd $(srcdir); /usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "--toplevel-dir=." -I/Users/eva/graph-cli/examples/basic-event-handlers/node_modules/keccak/build/config.gypi -I/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/Users/eva/Library/Caches/node-gyp/14.16.0/include/node/common.gypi "--depth=." "-Goutput_dir=." "--generator-output=build" "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/Users/eva/Library/Caches/node-gyp/14.16.0" "-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=/Users/eva/Library/Caches/node-gyp/14.16.0/<(target_arch)/node.lib" "-Dmodule_root_dir=/Users/eva/graph-cli/examples/basic-event-handlers/node_modules/keccak" "-Dnode_engine=v8" binding.gyp
330
330
  Makefile: $(srcdir)/../../../../../../../usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/build/config.gypi $(srcdir)/binding.gyp $(srcdir)/../../../../../Library/Caches/node-gyp/14.16.0/include/node/common.gypi
331
331
  $(call do_cmd,regen_makefile)
332
332
 
@@ -1,21 +1,21 @@
1
1
  Release/obj.target/keccak/src/addon.o: ../src/addon.cc \
2
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/node.h \
3
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/v8.h \
4
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/cppgc/common.h \
5
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/v8config.h \
6
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/v8-internal.h \
7
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/v8-version.h \
8
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/v8-platform.h \
9
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/node_version.h \
2
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/node.h \
3
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/v8.h \
4
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/cppgc/common.h \
5
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/v8config.h \
6
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/v8-internal.h \
7
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/v8-version.h \
8
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/v8-platform.h \
9
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/node_version.h \
10
10
  ../../nan/nan.h \
11
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/uv.h \
12
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/uv/errno.h \
13
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/uv/version.h \
14
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/uv/unix.h \
15
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/uv/threadpool.h \
16
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/uv/darwin.h \
17
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/node_buffer.h \
18
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/node_object_wrap.h \
11
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/uv.h \
12
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/uv/errno.h \
13
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/uv/version.h \
14
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/uv/unix.h \
15
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/uv/threadpool.h \
16
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/uv/darwin.h \
17
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/node_buffer.h \
18
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/node_object_wrap.h \
19
19
  ../../nan/nan_callbacks.h ../../nan/nan_callbacks_12_inl.h \
20
20
  ../../nan/nan_maybe_43_inl.h ../../nan/nan_converters.h \
21
21
  ../../nan/nan_converters_43_inl.h ../../nan/nan_new.h \
@@ -76,7 +76,7 @@
76
76
  "v8_use_siphash": 1,
77
77
  "want_separate_host_toolset": 0,
78
78
  "xcode_version": "11.0",
79
- "nodedir": "/Users/otaviopace/Library/Caches/node-gyp/14.16.0",
79
+ "nodedir": "/Users/eva/Library/Caches/node-gyp/14.16.0",
80
80
  "standalone_static_library": 1,
81
81
  "save_dev": "",
82
82
  "legacy_bundling": "",
@@ -133,8 +133,8 @@
133
133
  "https_proxy": "",
134
134
  "engine_strict": "",
135
135
  "description": "true",
136
- "userconfig": "/Users/otaviopace/.npmrc",
137
- "init_module": "/Users/otaviopace/.npm-init.js",
136
+ "userconfig": "/Users/eva/.npmrc",
137
+ "init_module": "/Users/eva/.npm-init.js",
138
138
  "cidr": "",
139
139
  "user": "",
140
140
  "node_version": "14.16.0",
@@ -178,7 +178,7 @@
178
178
  "otp": "",
179
179
  "cache_min": "10",
180
180
  "searchexclude": "",
181
- "cache": "/Users/otaviopace/.npm",
181
+ "cache": "/Users/eva/.npm",
182
182
  "color": "true",
183
183
  "package_lock": "true",
184
184
  "package_lock_only": "",
@@ -52,13 +52,13 @@ CFLAGS_OBJC_Debug :=
52
52
  CFLAGS_OBJCC_Debug :=
53
53
 
54
54
  INCS_Debug := \
55
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node \
56
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/src \
57
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/openssl/config \
58
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/openssl/openssl/include \
59
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/uv/include \
60
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/zlib \
61
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/v8/include \
55
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/include/node \
56
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/src \
57
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/openssl/config \
58
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/openssl/openssl/include \
59
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/uv/include \
60
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/zlib \
61
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/v8/include \
62
62
  -I$(srcdir)/../nan
63
63
 
64
64
  DEFS_Release := \
@@ -108,13 +108,13 @@ CFLAGS_OBJC_Release :=
108
108
  CFLAGS_OBJCC_Release :=
109
109
 
110
110
  INCS_Release := \
111
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node \
112
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/src \
113
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/openssl/config \
114
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/openssl/openssl/include \
115
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/uv/include \
116
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/zlib \
117
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/v8/include \
111
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/include/node \
112
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/src \
113
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/openssl/config \
114
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/openssl/openssl/include \
115
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/uv/include \
116
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/zlib \
117
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/v8/include \
118
118
  -I$(srcdir)/../nan
119
119
 
120
120
  OBJS := \
@@ -331,7 +331,7 @@ ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
331
331
  endif
332
332
 
333
333
  quiet_cmd_regen_makefile = ACTION Regenerating $@
334
- cmd_regen_makefile = cd $(srcdir); /usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "--toplevel-dir=." -I/Users/otaviopace/graph-cli/examples/basic-event-handlers/node_modules/websocket/build/config.gypi -I/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/common.gypi "--depth=." "-Goutput_dir=." "--generator-output=build" "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/Users/otaviopace/Library/Caches/node-gyp/14.16.0" "-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=/Users/otaviopace/Library/Caches/node-gyp/14.16.0/<(target_arch)/node.lib" "-Dmodule_root_dir=/Users/otaviopace/graph-cli/examples/basic-event-handlers/node_modules/websocket" "-Dnode_engine=v8" binding.gyp
334
+ cmd_regen_makefile = cd $(srcdir); /usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "--toplevel-dir=." -I/Users/eva/graph-cli/examples/basic-event-handlers/node_modules/websocket/build/config.gypi -I/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/Users/eva/Library/Caches/node-gyp/14.16.0/include/node/common.gypi "--depth=." "-Goutput_dir=." "--generator-output=build" "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/Users/eva/Library/Caches/node-gyp/14.16.0" "-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=/Users/eva/Library/Caches/node-gyp/14.16.0/<(target_arch)/node.lib" "-Dmodule_root_dir=/Users/eva/graph-cli/examples/basic-event-handlers/node_modules/websocket" "-Dnode_engine=v8" binding.gyp
335
335
  Makefile: $(srcdir)/../../../../../../../usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi $(srcdir)/build/config.gypi $(srcdir)/binding.gyp $(srcdir)/../../../../../Library/Caches/node-gyp/14.16.0/include/node/common.gypi
336
336
  $(call do_cmd,regen_makefile)
337
337
 
@@ -1,21 +1,21 @@
1
1
  Release/obj.target/bufferutil/src/bufferutil.o: ../src/bufferutil.cc \
2
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/v8.h \
3
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/cppgc/common.h \
4
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/v8config.h \
5
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/v8-internal.h \
6
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/v8-version.h \
7
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/node.h \
8
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/v8-platform.h \
9
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/node_version.h \
10
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/node_buffer.h \
11
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/node_object_wrap.h \
2
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/v8.h \
3
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/cppgc/common.h \
4
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/v8config.h \
5
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/v8-internal.h \
6
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/v8-version.h \
7
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/node.h \
8
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/v8-platform.h \
9
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/node_version.h \
10
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/node_buffer.h \
11
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/node_object_wrap.h \
12
12
  ../../nan/nan.h \
13
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/uv.h \
14
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/uv/errno.h \
15
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/uv/version.h \
16
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/uv/unix.h \
17
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/uv/threadpool.h \
18
- /Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node/uv/darwin.h \
13
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/uv.h \
14
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/uv/errno.h \
15
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/uv/version.h \
16
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/uv/unix.h \
17
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/uv/threadpool.h \
18
+ /Users/eva/Library/Caches/node-gyp/14.16.0/include/node/uv/darwin.h \
19
19
  ../../nan/nan_callbacks.h ../../nan/nan_callbacks_12_inl.h \
20
20
  ../../nan/nan_maybe_43_inl.h ../../nan/nan_converters.h \
21
21
  ../../nan/nan_converters_43_inl.h ../../nan/nan_new.h \
@@ -49,13 +49,13 @@ CFLAGS_OBJC_Debug :=
49
49
  CFLAGS_OBJCC_Debug :=
50
50
 
51
51
  INCS_Debug := \
52
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node \
53
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/src \
54
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/openssl/config \
55
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/openssl/openssl/include \
56
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/uv/include \
57
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/zlib \
58
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/v8/include \
52
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/include/node \
53
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/src \
54
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/openssl/config \
55
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/openssl/openssl/include \
56
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/uv/include \
57
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/zlib \
58
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/v8/include \
59
59
  -I$(srcdir)/../nan
60
60
 
61
61
  DEFS_Release := \
@@ -102,13 +102,13 @@ CFLAGS_OBJC_Release :=
102
102
  CFLAGS_OBJCC_Release :=
103
103
 
104
104
  INCS_Release := \
105
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node \
106
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/src \
107
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/openssl/config \
108
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/openssl/openssl/include \
109
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/uv/include \
110
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/zlib \
111
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/v8/include \
105
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/include/node \
106
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/src \
107
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/openssl/config \
108
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/openssl/openssl/include \
109
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/uv/include \
110
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/zlib \
111
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/v8/include \
112
112
  -I$(srcdir)/../nan
113
113
 
114
114
  OBJS := \
@@ -76,7 +76,7 @@
76
76
  "v8_use_siphash": 1,
77
77
  "want_separate_host_toolset": 0,
78
78
  "xcode_version": "11.0",
79
- "nodedir": "/Users/otaviopace/Library/Caches/node-gyp/14.16.0",
79
+ "nodedir": "/Users/eva/Library/Caches/node-gyp/14.16.0",
80
80
  "standalone_static_library": 1,
81
81
  "version_git_tag": "true",
82
82
  "init_license": "MIT",
@@ -49,13 +49,13 @@ CFLAGS_OBJC_Debug :=
49
49
  CFLAGS_OBJCC_Debug :=
50
50
 
51
51
  INCS_Debug := \
52
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node \
53
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/src \
54
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/openssl/config \
55
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/openssl/openssl/include \
56
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/uv/include \
57
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/zlib \
58
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/v8/include \
52
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/include/node \
53
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/src \
54
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/openssl/config \
55
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/openssl/openssl/include \
56
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/uv/include \
57
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/zlib \
58
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/v8/include \
59
59
  -I$(srcdir)/../nan
60
60
 
61
61
  DEFS_Release := \
@@ -102,13 +102,13 @@ CFLAGS_OBJC_Release :=
102
102
  CFLAGS_OBJCC_Release :=
103
103
 
104
104
  INCS_Release := \
105
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/include/node \
106
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/src \
107
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/openssl/config \
108
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/openssl/openssl/include \
109
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/uv/include \
110
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/zlib \
111
- -I/Users/otaviopace/Library/Caches/node-gyp/14.16.0/deps/v8/include \
105
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/include/node \
106
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/src \
107
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/openssl/config \
108
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/openssl/openssl/include \
109
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/uv/include \
110
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/zlib \
111
+ -I/Users/eva/Library/Caches/node-gyp/14.16.0/deps/v8/include \
112
112
  -I$(srcdir)/../nan
113
113
 
114
114
  OBJS := \
@@ -13,10 +13,10 @@
13
13
  "apollo-fetch": "^0.7.0"
14
14
  },
15
15
  "dependencies": {
16
- "babel-polyfill": "^6.26.0",
17
- "babel-register": "^6.26.0",
18
- "truffle": "^5.0.4",
19
- "truffle-hdwallet-provider": "^1.0.4"
16
+ "babel-polyfill": "6.26.0",
17
+ "babel-register": "6.26.0",
18
+ "truffle": "5.0.12",
19
+ "truffle-hdwallet-provider": "1.0.6"
20
20
  },
21
21
  "resolutions": {
22
22
  "assemblyscript": "0.19.10"
@@ -112,18 +112,18 @@ babel-messages@^6.23.0:
112
112
  dependencies:
113
113
  babel-runtime "^6.22.0"
114
114
 
115
- babel-polyfill@^6.26.0:
115
+ babel-polyfill@6.26.0:
116
116
  version "6.26.0"
117
- resolved "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153"
117
+ resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153"
118
118
  integrity sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=
119
119
  dependencies:
120
120
  babel-runtime "^6.26.0"
121
121
  core-js "^2.5.0"
122
122
  regenerator-runtime "^0.10.5"
123
123
 
124
- babel-register@^6.26.0:
124
+ babel-register@6.26.0, babel-register@^6.26.0:
125
125
  version "6.26.0"
126
- resolved "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071"
126
+ resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071"
127
127
  integrity sha1-btAhFz4vy0htestFxgCahW9kcHE=
128
128
  dependencies:
129
129
  babel-core "^6.26.0"
@@ -920,18 +920,18 @@ trim-right@^1.0.1:
920
920
  resolved "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003"
921
921
  integrity sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=
922
922
 
923
- truffle-hdwallet-provider@^1.0.4:
923
+ truffle-hdwallet-provider@1.0.6:
924
924
  version "1.0.6"
925
- resolved "https://registry.npmjs.org/truffle-hdwallet-provider/-/truffle-hdwallet-provider-1.0.6.tgz#7cda437c9a25bda6bbc5f4ed018e932254ecc867"
925
+ resolved "https://registry.yarnpkg.com/truffle-hdwallet-provider/-/truffle-hdwallet-provider-1.0.6.tgz#7cda437c9a25bda6bbc5f4ed018e932254ecc867"
926
926
  integrity sha512-cYTG0t9XouLLEBLMjkfHe3s2JO9wrFFVeXEgpW5Ay+8S56isf3LkrAUh0ws9bcYCJ0l7jho9xkaNnakeDqq//Q==
927
927
  dependencies:
928
928
  any-promise "^1.3.0"
929
929
  bindings "^1.3.1"
930
930
  websocket "^1.0.28"
931
931
 
932
- truffle@^5.0.4:
932
+ truffle@5.0.12:
933
933
  version "5.0.12"
934
- resolved "https://registry.npmjs.org/truffle/-/truffle-5.0.12.tgz#05ab7d2561a3ee4fd5e026dcc4b91b8f3c6e3795"
934
+ resolved "https://registry.yarnpkg.com/truffle/-/truffle-5.0.12.tgz#05ab7d2561a3ee4fd5e026dcc4b91b8f3c6e3795"
935
935
  integrity sha512-dqnDmtTGNcnL29PHQwPE/CVmFFeGLuTFeb4TS3VY/vbASefu118IKXcadOWzkCPPwktv/njwylHSPhwoS00F2A==
936
936
  dependencies:
937
937
  app-module-path "^2.2.0"