lightning 12.0.0 → 12.0.2

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Versions
2
2
 
3
- ## 12.0.0
3
+ ## 12.0.2
4
4
 
5
5
  ### Breaking Changes
6
6
 
@@ -167,7 +167,7 @@ module.exports = ({lnd}) => {
167
167
  }
168
168
 
169
169
  if (!update.type || !update.type.toLowerCase) {
170
- return emitError(asError('ExpectedEventTypeInChannelSubscription'));
170
+ return;
171
171
  }
172
172
 
173
173
  const updateType = update.type.toLowerCase();
@@ -175,7 +175,7 @@ module.exports = ({lnd}) => {
175
175
  const details = update[updateType];
176
176
 
177
177
  if (!details) {
178
- return emitError(asError('ExpectedEventDetailsForTypeInChannelSub'));
178
+ return;
179
179
  }
180
180
 
181
181
  try {
package/package.json CHANGED
@@ -8,9 +8,9 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "@alexbosworth/blockchain": "3.2.0",
11
- "@grpc/grpc-js": "1.14.3",
11
+ "@grpc/grpc-js": "1.14.4",
12
12
  "@grpc/proto-loader": "0.8.1",
13
- "@types/node": "25.7.0",
13
+ "@types/node": "25.9.1",
14
14
  "@types/request": "2.48.13",
15
15
  "@types/ws": "8.18.1",
16
16
  "async": "3.2.6",
@@ -51,5 +51,5 @@
51
51
  "directory": "test-typescript/typescript"
52
52
  },
53
53
  "types": "index.d.ts",
54
- "version": "12.0.0"
54
+ "version": "12.0.2"
55
55
  }
@@ -152,36 +152,6 @@ const tests = [
152
152
  }],
153
153
  },
154
154
  },
155
- {
156
- args: {lnd: makeLnd({data: {}})},
157
- description: 'Channel data type is expected',
158
- expected: {
159
- events: [{
160
- data: new Error('ExpectedEventTypeInChannelSubscription'),
161
- event: 'error',
162
- }],
163
- },
164
- },
165
- {
166
- args: {lnd: makeLnd({data: {type: 1}})},
167
- description: 'Channel data type string is expected',
168
- expected: {
169
- events: [{
170
- data: new Error('ExpectedEventTypeInChannelSubscription'),
171
- event: 'error',
172
- }],
173
- },
174
- },
175
- {
176
- args: {lnd: makeLnd({data: {type: 'event'}})},
177
- description: 'Channel data details are expected',
178
- expected: {
179
- events: [{
180
- data: new Error('ExpectedEventDetailsForTypeInChannelSub'),
181
- event: 'error',
182
- }],
183
- },
184
- },
185
155
  {
186
156
  args: {lnd: makeLnd({data: {active_channel: {}, type: 'active_channel'}})},
187
157
  description: 'Channel data details are expected',